Skip to main content
Because the Vindicia object takes over the Submit event when you call vindicia.setup(), you cannot call a validation function directly. Instead, your validation function is called for you. Specify the validation function in vindicia.setup() as follows:
When the user clicks the Submit button, merchantValidate(theForm) is called. You must return a boolean value. True causes the form to be submitted, false blocks submission of the form.
You must return true or false. Parent topic:Implementing HOA with Hosted Fields