Skip Navigation

[Resolved] Hook 'cred_form_validate' is called twice when custom validation fails

This support ticket is created 6 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 17 replies, has 2 voices.

Last updated by Beda 5 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#632326

Are you sure that having 2 CRED forms is the cause of the script called twice? That's because, as I mentioned before, even after deleting the second form, the script is still called twice.

This is what I cannot replicate on the copy I got from you.
One form and the validation is called only once.

Please as well confirm this on a simple page, where a form is present.
It is important that just one form is present on the page.

The issue with the more than one form, I have no ETA for it yet, but it will not be with the next Many To Many stable releases, this I know.

#1239011

This will be resolved in the upcoming Forms 2.4 version (I have no ETA for it's release yet)

I will keep you updated.

#1278435

This is now released in Forms 2.4

Thanks for sticking with us on this.