Hosted Controls - Card Token

Custom Form Validation

By Default, Hosted Controls attempts to validate the main form using the JQuery-Validate plugin. If you are not using that plugin, you can optionally pass in a custom validation callback method that will be called when the form submits.

For this example, entering '99999' in the Zip field will prompt the Custom Validation method to fail.