Skip Navigation

[Resolved] Send button not active

This thread is resolved. Here is a description of the problem and solution.

Problem: When I click submit on an edit CRED form, nothing happens.

Solution: There is currently a known issue with required image fields in an edit CRED form. Please find the patch file in the erratum post below.

Relevant Documentation: https://toolset.com/errata/required-image-fields-cred-form-will-appear-not-set-re-upload-new-image/

This support ticket is created 6 years 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 4 replies, has 2 voices.

Last updated by kayser 6 years ago.

Assisted by: Christian Cox.

Author
Posts
#653088

Hi

I am trying to:

validate with form_submit

Link to a page where the issue can be seen:
hidden link

here his the form
hidden link

#653295
Screen Shot 2018-04-12 at 12.38.46 PM.png

I see two JavaScript errors on your page, so those should be fixed first. Any custom code that manipulates the CRED form DOM should be wrapped in a window load event handler like this:

jQuery(window).bind('load', function() {
  // add your code here. Use jQuery instead of $
});

There is no JavaScript API for CRED, so I cannot provide any additional advice for front-end validation. We offer validation on the backend using the cred_form_validate API:
https://toolset.com/documentation/programmer-reference/cred-api/#cred_form_validate
If you provide some additional information about what you want to validate, I can help you implement this API on the backend.

#653304

Hi
For the moment I removed the javascript and there is no more error

In this page a compagnie
hidden link
can add a spectacle
hidden link

But it's when you want to modify a show that the button is no longer active
hidden link

#653613

Okay thank you, I see the problem more clearly now. There is currently a known issue with required image fields in a CRED form. Please find the erratum post here: https://toolset.com/errata/required-image-fields-cred-form-will-appear-not-set-re-upload-new-image/

There is a patch file available and some instructions for applying the patch. Let me know if this does not resolve the issue for you, and I can take a closer look.

#655513

That was it, it works now
Thank you Christian

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.