I have a checkbox which is configured to be required in the Form builder. However I can't get the Marketo's function
Mkto.formSubmit(elt)
to validate the checkbox field when the form is subitted. The same form has other text fields and pulldownn fields and they are validated by Marketo's Javascript, just not the checkbox.
Is this a Marketo bug?
Is there a similar Marketo function that would validate all the required fields that are configured in the Form builder, but would return a True or False, instead of submitting the form if all the required fields are validated? Something like the following function (I am suggesting)
// Is there a Marketo function like the following?
Mkto.validateForm(elt)