Changes

Jump to: navigation, search

Visibility Condition

1,251 bytes removed, 18:28, 13 July 2009
m
Reverted edits by Cameron (Talk); changed back to last version by Julia Decker
The Visibility Condition section of [[Custom Fields]] and [[Standard_Field_Settings|Standard Fields]] allows you to use logical statements to determine whether a field is visible or not.
'''Examples'''
* To make the field visible after 06 February 2009.See: now():[[Standard_Field_Settings#Visibility_Condition|Standard Fields Visibility Condition]]<br>:[[Custom Fields – Detailed Descriptions#Visibility Condition|Custom Fields Visibility Condition]]<br>'2009-02-06'
* '''IMPORTANT:''' for a visibility condition based the '''startdate''' or '''enddate''':::* Use ''''@fullstartdate@'''' rather than ''''@startdate@'''' ::* Use ''''@fullenddate@'''' rather than ''''@enddate@''''.:''This will format the stored date as yyyy-mm-dd so it can be compared using < and >.'' '@fullstartdate@' >= '2009-05-01'  * To make the field visible only if the date in the field named '''Date Initiated''' is on or after 2009-01-31 '@Date initiated@' >= '2009-01-31'  * To make the field visible for a user with roleid 9999 ',@me.rolelist@,' REGEXP ',9999,' =1  *To make the field hidden for a user with roleid 9999 ',@me.rolelist@,' REGEXP ',9999,' = 0  *To make the field visible only when the status is Draft or Open * '@status@' in ('Draft','Open') ::''Note: The above Visibility Condition would only be used '''Standard Fields'''. [[Custom Fields]] have a separate [[Status Field Permissions|Status Field Permission]] section that can be used.''  *More Examples, '@Destination City@'='Toronto' '@Type@'!='Contract'  '''Note:''' remember Access to include the @fieldname@ in single quotes.    ==See Also== Visibility of [[Custom Fields]] can also be controlled using:* [[Custom_Fields_–_Detailed_Descriptions#Role_Permissions|Role Field Permissions]] * [[Status Field Permissions]]* [[Show/Hide Field Control]] For help constructing logical statements for '''Visibility Condition''':* [[Determining the statusid]]* [[Determining the roleid]]* [[Determining the typeid]]* [[Advanced Logic]] (for more examples)
[[Category:Custom Fields]]
0
edits

Navigation menu