Changes

Jump to: navigation, search

Visibility Condition

5 bytes removed, 13:04, 10 June 2011
no edit summary
* To make a Contact field visible only to the contact and to System Administrators (''[[roleid]]'' 12345):
@me.userid@=@userid@ or instr(" @me.rolelist@",",12345,")>=0
* To make the field visible for a user with [[roleid]] 9999
instr(" @me.rolelist@,",",9999,")>=0
:''instr checks to see of the 2nd term (,9999,) can be found within the first term (@me.rolelist@) and returns the numeric character position at which it is found. It returns a value of -1 if the search term is not found.
*To make the field hidden for a user with roleid 9999
instr(" ,@me.rolelist@,",",9999,")<0
:''In this case ''instr'' will return false (-1) if the role is not found that will only display the field for users that don't have [[roleid]] 9999
Smartstaff, administrator
686
edits

Navigation menu