Skip Navigation

[Resolved] CRED form will not submit required fields even though everything is filled

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 10 replies, has 3 voices.

Last updated by Minesh 1 year, 3 months ago.

Assisted by: Minesh.

Author
Posts
#2642285
Screenshot 2023-09-08 at 1.37.31 PM.png

Tell us what you are trying to do?
Submit a CRED form that creates a user

What is the link to your site?
hidden link

This is a legacy CRED form that has been working fine for years. We just noticed that when trying to submit the form, which has 6 required fields, after submission, the page reloads and shows required fields for each one, unable to process.

Nothing to this form has been changed in a long time.

Please advise.

Thank you!

#2642589

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I will require admin access details in order to know whats going wrong with your setup as well as I would like to know are you using any Forms hook for that form?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2642673

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see you created the following form:
- hidden link

The above form is post type form to create new posts for post type "Member".

Then I see within your functions.php file the hook "cred_submit_complete" is used.
- hidden link

I see you are using post type form and using "cred_submit_complete" where you are creating the new user on fly.

You said it used to work and stop working now, to ensure there is no conflict between the third-party plugins or theme you are using:

Could you please try to resolve your issue by deactivating all third-party plugins one by one to check for any possible conflicts with any of the plugins?
- Do you see any difference?

#2643891

Hello, I have spent the last few days troubleshooting on my own without success.

Please advise.

Thanks!

#2643897

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

In order to debug this further I will require duplicator copy of your site.

Can you please send me duplicator copy of your site:
- https://toolset.com/faq/provide-supporters-copy-site/

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2645335

Thank you for sharing these details.

Just wanted to let you know that Minesh is on holiday today.

He'll be back tomorrow and will be able to follow up on this ticket, accordingly.

Thank you for your patience.

#2647159

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

The site is 11 Gigs.
==>
I tried couple of times but 11 Gigs is too large file to download but I've successfully created the package using the duplicator where I exclude all the media files. Please allow me to setup your site on my local computer and I will get back to you with my findings.

#2647251

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I see that when I deactivate the plugin "Event Espresso" plugin the form is saved successfully. It seems there is a conflict with the plugin "Event Espresso" as you are also creating new user on fly using the Toolset form's hook.

#2648133

Wow, strange that when I deactivated it, it still did not work. I turned off Event Espresso and it works now. The client is not using EE at the moment, but they plan to in the near future.

Where does the conflict lie, in EE and Toolset? Is there another hook is should be using? This site is about 8 years old, so it is showing its age and some things might have changed over the years on your end (hooks). Please advise how to move forward if I need EE activated and where I can start troubleshooting.

Thank you for your help!

#2648141

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you are not using that plugin its not worth debugging because in future we might add some feature and "Event Espresso" plugin as well and having different releases in between.

I suggest you go ahead with your project now and when you plan to use the "Event Espresso" plugin at that time we will check with the current version available at that time of both Toolset and "Event Espresso" plugin so we can try to find the bug with the current version code base of both plugin.

#2648143

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

If you are not using that plugin its not worth debugging because in future we might add some feature and "Event Espresso" plugin as well and having different releases in between.

I suggest you go ahead with your project now and when you plan to use the "Event Espresso" plugin at that time we will check with the current version available at that time of both Toolset and "Event Espresso" plugin so we can try to find the bug with the current version code base of both plugin.

#2648597

Thank you again for your help! Have a good one.