NSOA.form.error(field, message)

Use this function to print an error message associated to the selected form field on the OpenAir form. The first argument is the field name on the form where you want the message to show up. The message that appears will look exactly like the OpenAir system-generated errors.

Note:

The is function has no affect on the After save form event, see Events.

Parameters

Returns

Units Limit

For more information, see Scripting Governance.

Since

Example

See Code Samples for more examples.