NSOA.form.error(field, message)

Use this function to print an error message associated to the selected form field on the 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 system-generated errors.

Note:

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

Parameters

Returns

True if the function was successful and false otherwise.

Units Limit

1 unit

For more information, see Scripting Governance.

Since

August 17, 2013

Example

See Code Samples for more examples.