Changes

Jump to: navigation, search

Visibility Condition

460 bytes added, 18:53, 16 January 2012
no edit summary
* To make the field visible if the Template or Type is named '''Sample''' or '''Example'''
'"@type@'"='"Sample' " OR '"@type@'"='"Example' "
*More Examples,
'"@Destination City@'"='"Toronto' " '"@Type@'"!='"Contract'"
( '@status@' = 'Closed' || '@status@' = 'Cancelled') && ('@me.fullname@'='John Doe' || '@me.fullname@'='John Deer' || '@me.fullname@'='Dear John')
''The above field will be visible only if the status of the record is either ''Closed'' OR ''Cancelled'', AND the user is one of the 3 named users.''
 
 
==Note==
* It is usually best practice to use double quotes (") around variables rather than single quotes ('). This is because single quotes are also apostrophes, so if the variable is processed and replaced with a term with an apostrophe it will close the statement and cause a server side error. (In principle the variable could also be replaced with text containing a double quote, also resulting in an error, but double quotes are less commonly stored.)
 
==See Also==
0
edits

Navigation menu