Skip to content Skip to sidebar Skip to footer

Ignoring Validation On A Button

I'm adding a 'Cancel' button to an XPage that has a form with many required fields. When I click the 'Cancel' button, it runs through the validation and gives me the errors. Is the

Solution 1:

Every event supports two options for bypassing validation:

Event Properties

Select "Process data without validation" to update the data model (i.e. document) and run the event code without executing any validators

Select "Do not validate or update data" to run the event code without running validators or updating the data model. This latter option is ideal for cancellation buttons.

Post a Comment for "Ignoring Validation On A Button"