Hi all,
I have a form (fm1) and within the form I have another form (fm2).
During the "onSubmit" I want to set "novalidate: true" for all the fields inside "fm2".
I know how to set "novalidate: true" for a single field (see code below) but how is it possible to set "novalidate: true" for all the fields inside "fm2" ?
$('#fm1').form('submit', {
onSubmit: function() {
$('#Description').validatebox({
novalidate: true
});
var isValid = $(this).form('validate');
}
});
<form id="fm1" method="post" novalidate>
<form id="fm2" method="post" novalidate>
</form>
</form>
Regards
Miche