-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple forms on page not working after upgrading #100
Comments
Is your submit a button or an input field? It must be an input field with type="submit" to work properly with &submitVar I think. |
@mikegomy It could have something to do with the update in processing of placeholders in the latest MODX version. We've had some strange behaviour as well in 2.5.1 with FormIt. Setting all the FormIt placeholders to uncached |
I had the same problem with Multiple forms + ajax, but it's was decided simple:
|
@joeke I'm using two FormIt calls (Modx 2.5.5.) with input fields and the correct &submitVar values. Everything runs as expected without a recaptcha or math hook . But if you use recaptcha v.1 (which doesn't work at all) or the math hook in both calls it won't work ("Wrong answer" error). |
@mikegomy Is this still an active issue or did you resolve it? |
Hi, I worked around it so it is no longer an issue. thanks.
Best regards,
Mike Montgomery
Give more than you can afford. Take less than you need. Leave every
situation better than you found it.
…On 5 September 2017 at 09:30, Joeke Kloosterman ***@***.***> wrote:
@mikegomy <https://github.com/mikegomy> Is this still an active issue or
did you resolve it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#100 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AUPSsiS-OJ82EX9TiJfQ7xd5HFenEKpyks5sfPimgaJpZM4JsF2t>
.
|
Hi,
I have upgraded to Modx 2.5.1-pl in the last few days. (Not sure if I should report this here or to Modx) Multiple forms on the page worked fine before then. Now the submit buttons no longer work.
I simplified the problem to use just one form on the page. The form definition starts with [[!FormIt? &submitVar=
abc
...other stuff.... ]]The submit button has a name="abc" id="abc" settings.
When I remove the &submitVar=
abc
(but keep the name="abc" id="abc" ) it works as expected. But when I use &submitVar=abc
(as I will for multiple forms) it stops working.Is there anything new that has to be done for Modx 2.5.1-pl?
Regards,
Mike
The text was updated successfully, but these errors were encountered: