Mautic Community Forums

Multiple forms on one page

Could use a hand from a javascript master.



I’m using multiple forms on a single page and it seems the validation script is written to only support one.

eg. if I make an invalid submission on the 2nd form, the error message shows up on the first form.



Any suggestions on the best way to tweak the validation script(s) to support multiple forms (and/or form html)?

This bug is fixed in this PR: https://github.com/mautic/mautic/pull/713. You can test the patch and write a commend to GitHub if this fix works for you if you want.
This issue should be fixed in the upcoming version 1.1.4 for everyone.

I can reproduce the problem. Will look at it closer…

Could use a hand from a javascript master.

I’m using multiple forms on a single page and it seems the validation script is written to only support one.
eg. if I make an invalid submission on the 2nd form, the error message shows up on the first form.

Any suggestions on the best way to tweak the validation script(s) to support multiple forms (and/or form html)?

Great, thank you!

I have the same Problem , when leaves a version with fixes as ?
thanks

Hi Widesys:

We don’t have a release date yet, but if you can pull in the changes from the PR or apply them manually (or download them as a patch: https://patch-diff.githubusercontent.com/raw/mautic/mautic/pull/713.patch and apply it to your server.

Chad