This topic is locked

confidential / private mode

2/9/2011 10:21:41 AM
PHPRunner General questions
W
wfcentral author

my client has asked that she be able to view a list in a "confidential mode" so that only the first three letters or firstname, lastname are displayed instead of the full name... this would keep someone watching over her shoulder from knowing the true identify of everyone in the database.
any ideas on how to do that?

Sergey Kornilov admin 2/9/2011

If your question is about masking the part of last name you can set 'View as' type to 'Custom' and use the following code.

$value = substr($value,0,3).str_repeat("*", strlen($value)-3);