Difference between revisions of "Edit Condition"

From SmartWiki
Jump to: navigation, search
(Created page with 'The '''Edit Condition''' setting on Standard Fields determines whether the field will appear on the page as read only or as an editable field. The syntax used is the same as …')
 
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
The '''Edit Condition''' setting on [[Standard Fields]] determines whether the field will appear on the page as read only or as an editable field. The syntax used is the same as for the [[Visibility Condition]].  
 
The '''Edit Condition''' setting on [[Standard Fields]] determines whether the field will appear on the page as read only or as an editable field. The syntax used is the same as for the [[Visibility Condition]].  
  
 +
If the logical statement entered is true the field will be editable. If the logical statement is false the field will appear as read only.
 +
*'''Note:''' if the [[Visibility Condition]] is false the Edit Condition is ignored since the field will not appear on the page.
  
 
==Example==
 
==Example==
Entering the following into a User/Contact Standard Field Edit condition will ensure that only Global User Administrators are permitted to set the e-mail address of any contacts that are assigned as Local or Global User Administrators within the system.
+
Entering the following into a User/Contact Standard Field Edit condition will ensure that only Global User Administrators are permitted to set the e-mail address of other Global User Administrators within the system.
  
  instr("@type@","Admin")<0 or instr("@me.type@","Global")>0
+
  "@type@"!="Global User Administrator" or "@me.type@"="Global User Administrator"
  
  
 
For further examples see the [[Visibility Condition]] page.
 
For further examples see the [[Visibility Condition]] page.
 +
 +
[[Category:Security]]

Latest revision as of 11:50, 28 October 2013

The Edit Condition setting on Standard Fields determines whether the field will appear on the page as read only or as an editable field. The syntax used is the same as for the Visibility Condition.

If the logical statement entered is true the field will be editable. If the logical statement is false the field will appear as read only.

  • Note: if the Visibility Condition is false the Edit Condition is ignored since the field will not appear on the page.

Example

Entering the following into a User/Contact Standard Field Edit condition will ensure that only Global User Administrators are permitted to set the e-mail address of other Global User Administrators within the system.

"@type@"!="Global User Administrator" or "@me.type@"="Global User Administrator"


For further examples see the Visibility Condition page.