Difference between revisions of "Edit Condition"
From SmartWiki
Line 5: | Line 5: | ||
==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 | + | 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" | |
Latest revision as of 10: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.