Hello,
I have a question quite similar to: http://support.semicolonweb.com/forums/topic/how-can-i-add-a-checkbox-required-for-privacy-policy-on-form/
Obviously, the suggested code is already added to the canvas theme.
I have very hard time to get the validation for a custom checkbox running. E.g. following code does not work:
I read and agree the terms of usewith the jQuery validation js:
$('#register-form').validate({
rules: {
'register-form-tou': "required"
},
messages: {
'register-form-tou': {
required: "You need to agree the terms of use"
}
}
});It is setting the error and so on very good, but it does not update the checkbox (tick it on click). Is there no build in functionality for that, or is a workaround necessary?
Thank you very much for your help!
