Skip Navigation

[Resolved] Submit button on several form always triggering the same form submit

This support ticket is created 4 years, 1 month 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)

Author
Posts
#1864733
Screenshot_3.jpg
Screenshot_2.jpg
Screenshot_1.jpg

I am trying to: Have form on each post of a loop to update some relational field. And submit them on change by js,

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

I expected to see: The post notes meta updated while I type. I have js to automatically submit when I change the value.

Instead, I got: I edited one and it's always triggering another wrong from to submit. Any form I edit always submitting the same wrong one.

#1865015

Hello, it sounds like there could be a problem in Forms, a problem in this Form's setup in Views, or possibly a problem in the custom JavaScript you've implemented to submit a Form automatically as you type. I'm not able to see the page without a login, so I'm not able to investigate much right now. You could test further by temporarily deactivating the JavaScript that submits the value as you type, and adding a submit button in the Form. If you submit the Form using a standard Forms submit button, is the note text saved in the correct post? If so, that indicates a custom JavaScript submission issue. If not, then it could be a bug in Forms or it could be a problem in the way the Form is set up within Views. I would need a login to inspect the Form and View for more information.

Feel free to provide login credentials in the private reply fields here if the standard submit button does not work as expected, and I will take a closer look.

#1865643

My issue is resolved now. Thank you!