Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1447

Form Step Submit Hook?

$
0
0

Replies: 1

Hello,

I am using a multi-step form on my site and need to implement custom validation for the field text-1, which is located on the first step of the form.

I attempted to use the forminator_custom_form_submit_errors filter, but it only triggers upon submitting the final step, not when submitting the first step.

I have reviewed the documentation and even inspected the code manually but couldn’t find a suitable filter or action that triggers validation during step-by-step progression.

Additionally, when the error is triggered using forminator_custom_form_submit_errors, it displays correctly, but the entire form is cleared, as if all previously entered data is lost.

Is there a way to achieve custom validation during the submission of individual steps? And how can I prevent the form data from being wiped out upon triggering a validation error?

Thank you in advance for your assistance,
Alessandro


Viewing all articles
Browse latest Browse all 1447

Trending Articles