The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group
Form validation when using Formidable Form API
Hi,
I am loading the Formidable Form through REST API. The code that I am using is from here.I am trying to get the response whether it is successful or not by using the filter frm_get_api_response
;If the form is submitted successfully, I can redirect it to a thank you page (by using Send API Data in the form actions), but if the form is not submitted successfully (form fields are empty ), then it redirects to mywebsite/wp-admin/admin-ajax.php?action=frm_forms_preview&form=contact-form
My goal is to avoid any unsuccessful submissions and validate the form by using JavaScript without the need to redirect users to such a page to fill out the form. Are there any filters out there to do this job?
Thanks in advance.
He
Discussion closed.