Skip Navigation

[Resolved] submit button does not seem to work

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

Problem:
A Form is included on a page, but the submit button is completely inactive and does not submit the form.

Solution:
In this case the client was including a View inside the form in such a way that there were nested forms, which is not admissible in HTML. The closing /form tag of the nested form was being interpreted as the end of the main form.

This support ticket is created 6 years, 6 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 17 replies, has 2 voices.

Last updated by ericW-5 6 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#893157

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2018-05-16 at 16.10.46.png
Screen Shot 2018-05-16 at 16.11.25.png

The View "Attached resume" does not in any sense "attach" a resume to the form submission, I'm not entirely sure what its purpose is (other than purely visual).

When you submit a form what gets submitted are the form inputs.

Including some HTML from a resume inside the form does not mean that the resume is submitted along with the form if the resume components are not form inputs themselves.

In any case, I took a closer look at the markup for the page, and the nested form is actually coming from the section I show in the screenshot.

The retour button is inside a small form, which is creating the nested form tags and breaking the CRED form.

I suspect you have added that at some point, which is when your CRED form submit would have stopped working.

You'll need to remove that for the form to work again.

#895706

Hi Nigel,

Great ! thanks vmuch : I removed the button and the form works perfect now.

Anyway I still have 2 issues :

1- right after the application is registered, an email message is supposed to be sent to the recruiter (author of the job offer) and this is not the case.
See email set up for this form : hidden link

2- recruiters should see a list of their received applications under the their job offer thanks to a "view" at the bottom of the page. Nothing appears at the bottom of the page.
See the content template which embeds this view here : hidden link
See the view here : hidden link

Many thanks in advance
Eric

New threads created by Nigel and linked to this one are listed below:

https://toolset.com/forums/topic/split-problem-with-form-submissions/

#898067

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Eric

I'm glad that solved the submit button problem.

We have a policy of one issue per thread in the forums, so I have split your follow-up questions into a separate thread.

Sorry, I have been working on some non-support issues today and didn't get chance to look at the issue, I will do so tomorrow morning.

#901356

all solved