Difference between revisions of "Visibility Condition"

From SmartWiki
Jump to: navigation, search
Line 4: Line 4:
 
See:  
 
See:  
 
:[[Standard_Field_Settings#Visibility_Condition|Standard Fields Visibility Condition]]<br>
 
:[[Standard_Field_Settings#Visibility_Condition|Standard Fields Visibility Condition]]<br>
:[[Custom Fields – Detailed Descriptions#Visibility Condition|Custom Fields Visibility Condition]]<br>
 
  
  
Access to [[Custom Fields]] can also be controlled using [[Custom_Fields_–_Detailed_Descriptions#Role_Permissions|Role Permissions]]
+
For example, if you used the following '''Visibility Condition''':
 +
*now()>'2009-02-06'
 +
The field will only be visible after 06 February 2009.
 +
 
 +
 
 +
These conditional statements can also refer to other fields:
 +
*'@Date initiated@' >'2009-01-31'
 +
The field will only be visible if the date in the field named '''Date Initiated''' is after 2009-01-31
 +
 
 +
 
 +
*'@Destination City@'='Toronto'
 +
The field will only be visible if the entry in the '''Destination City''' field is '''Toronto'''
 +
 
 +
 
 +
*'@status@' in ('Draft','Open')
 +
The field will only be visible when the status is '''Draft''' or '''Open'''
 +
 
 +
 
 +
'''Note:''' remember to include the @fieldname@ in single quotes.
 +
 
 +
 
 +
Access to [[Custom Fields]] can also be controlled using [[Role Field Permissions]] and [[Status Field Permissions]]
  
 
[[Category:Custom Fields]]
 
[[Category:Custom Fields]]

Revision as of 15:11, 22 May 2009

The Visibility Condition section of Custom Fields and Standard Fields allows you to use logical statements to determine whether a field is visible or not.


See:

Standard Fields Visibility Condition


For example, if you used the following Visibility Condition:

  • now()>'2009-02-06'

The field will only be visible after 06 February 2009.


These conditional statements can also refer to other fields:

  • '@Date initiated@' >'2009-01-31'

The field will only be visible if the date in the field named Date Initiated is after 2009-01-31


  • '@Destination City@'='Toronto'

The field will only be visible if the entry in the Destination City field is Toronto


  • '@status@' in ('Draft','Open')

The field will only be visible when the status is Draft or Open


Note: remember to include the @fieldname@ in single quotes.


Access to Custom Fields can also be controlled using Role Field Permissions and Status Field Permissions