cancel
Showing results for 
Search instead for 
Did you mean: 

AcceptUI -Validate underlying form before modal opens

I am using AcceptUI modal form . I need to be able to validate the underlying form before calling AcceptUI.  Example at https://dev.heliasfoundation.org/content/forms/donations/annualfund/donate.aspx

 

Can I call AcceptUI via javascript rather than using AcceptUI as a CSS class?

Is there a call in AcceptUI.js that I can utilize to run a form validation and return a .isValid so the modal opens to finish the transaction.

 

Thanks in advance

Scottw12
Member
2 REPLIES 2

Why not make your own button that validates your form, then simulates 'click' or 'mousebuttondown' or something on thier button?

natesutherland2
Contributor

Has to be a cleaner way out there than that....