Edit Action dialog box

Use this dialog box to specify the "action" part of a conditional action value expression for a component.

Field/Option Description
Action Type Specify the type of conditional action to define:
  • NONE - Nothing happens. This setting is the default when you create a new conditional action.
  • Set - Sets a value for the component if the condition evaluates to TRUE.
  • SetModified - Sets a value for the component and marks the record as modified, if the condition evaluates to TRUE.
  • Enabled - Enable the component if the condition evaluates to TRUE, or disable the component if the condition evaluates to FALSE.
  • Required - Make the component a required field if the condition evaluates to TRUE.
  • Visible - Make the component visible if the condition evaluates to TRUE, or hide the component if the condition evaluates to FALSE.
  • Toggle - Turn the component setting on or off based on the condition setting.
  • Modified - Mark the record as modified if the condition evaluates to TRUE.
  • GenEvent - Generate an event if the condition evaluates to TRUE.
  • GenEventRet - Generate an event and return a value if the condition evaluates to TRUE.
  • Focus - Sets focus on the component if the condition evaluates to TRUE. If the condition evaluates to FALSE, focus on another component, if specified in the expression.
  • ReturnValue - Sets the return value based on the conditional action.
  • Stop - If the condition evaluates to TRUE, stop execution of any additional actions on the overall expression.
  • ThemeClass - If the condition evaluates to TRUE, the given theme class is applied.
  • Validate - If the condition evaluates to FALSE, display the message specified in the expression.

See Conditional Action Syntax.

Event Name Enter a value or, to display the Edit Value Expression dialog box, click Edit Value.
Specify form or component (2 fields) These two fields are only available when GenEvent or GenEventRet is selected as the Action Type. Use these fields to specify the target for the event to be generated:
  • ThisForm - Specifies the current form as the target.
  • Form name - Use the second drop-down list to select the form that is to be the target.
  • Component - Use the second drop-down list to select the component on the current form that is to be the target.