Edit Condition

From SmartWiki
Revision as of 11:04, 17 June 2011 by Cameron (talk | contribs)

Jump to: navigation, search

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 any contacts that are assigned as Local or Global User Administrators within the system.

instr("@type@","Admin")<0 or instr("@me.type@","Global")>0


For further examples see the Visibility Condition page.