Validates form fields and values against the registration form as defined in the site dashboard.
The validate()
method returns a Promise that resolves to {valid: true}
if the fields and values in the registration form are valid or rejects if there are
invalid fields or values.
When validate()
is called, validateInput()
also runs for all your form fields.
The following are invalid when checked against the event's registration form as defined in the site dashboard:
Note: The frontend Events APIs aren't functional when previewing a site. View a published version of a site to see their complete functionality.
Field names and values for a registration form.