bootstrap-validator icon indicating copy to clipboard operation
bootstrap-validator copied to clipboard

Know validation status by code

Open array81 opened this issue 6 years ago • 0 comments

Is there a way to know validation form status by javascript code? I have a form without submit button. The user use a link (extern to form) to submit the form with this code:

<a href="javascript:{}" onclick="document.getElementById('savecontact').submit(); return false;"><button type="button" class="btn btn-block btn-primary">SUBMIT</button></a>

I have submit only if the form is validated. Is it possible?

array81 avatar Mar 09 '18 18:03 array81