You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using avgrund for when my contact form is submitted. Right now it's set to display when the submit button is clicked, but I want it to init ONLY if the form is validated (if the required fields have been filled out).
I've tried two a few ways so far to no avail:
$('#submit').avgrund({setEvent: 'submit'}); $('#submit').avgrund({onLoad: function{$('#submit').hasclass('valid')}});
wrapping the avgrund function in the conditional statement if $('#submit').hasclass('valid')
Any suggestions?
The text was updated successfully, but these errors were encountered:
I am using avgrund for when my contact form is submitted. Right now it's set to display when the submit button is clicked, but I want it to init ONLY if the form is validated (if the required fields have been filled out).
I've tried two a few ways so far to no avail:
$('#submit').avgrund({setEvent: 'submit'});
$('#submit').avgrund({onLoad: function{$ ('#submit').hasclass('valid')}});
wrapping the avgrund function in the conditional statement if $('#submit').hasclass('valid')
Any suggestions?
The text was updated successfully, but these errors were encountered: