Process command for highlighting required fields
AR System application developers can use the PERFORM-ACTION-VALIDATE-NULL-REQUIRED-FIELDS run process command to create a workflow that checks for missing data in required fields. The validation is performed on the browser client and does not require calls to the server, which improves performance. The command highlights the required fields (for example, with red color borders) that are empty and displays an error message.
The workflow highlights required fields in browser clients only. Also, the PERFORM-ACTION-VALIDATE-NULL-REQUIRED-FIELDS command is supported in browser clients only
In Mid Tier, the browser validates the Required fields when the following actions are executed:
- Push field action
- Commit Changes action
- PERFORM-ACTION-VALIDATE-NULL-REQUIRED-FIELDS Run Process command
To create a workflow to highlight the Required fields
Before creating a workflow, set one or more fields on the form to Required. For more information about how to change the entry mode to Required, see Defining-Change-Field-active-link-actions.
- Right-click the If Action or the Else Action panel header.
- Select Add Action > Run Process.
- Under the Process tab in the Expression Editor, select PERFORM-ACTION-VALIDATE-NULL-REQUIRED-FIELDS.
Add parameters to the command, for example:
PERFORM-ACTION-VALIDATE-NULL-REQUIRED-FIELDS PROMPT 8\536870913For more information about how to use the process commands, see Using-Run-Process-and-PROCESS-commands.
- Click OK to close the Expression Editor dialog box.
- Save the active link.