Sdílet prostřednictvím


OnValidate (Page fields) Trigger

Executed when a field loses focus after its value has been changed.

OnValidate()

Applies To

  • Pages

Remarks

Use this trigger to validate user entries in a page field. If validation fails, then the field is marked with an error and its value is not saved.

The OnValidate trigger is also a field trigger at the table level. For more information, see OnValidate (Fields) Trigger. If both the table field and page field triggers are defined, then the OnValidate trigger on the table field is executed before the OnValidate trigger on the page field.

Note

You can use this trigger to write to the database. You cannot call the UPDATE function from this trigger.