silverstripe / silverstripe-userforms

UserForms module provides a visual form builder for the Silverstripe CMS. No coding required to build forms such as contact pages.
BSD 3-Clause "New" or "Revised" License
134 stars 226 forks source link

Unable to have two Userforms on a single page #701

Closed asecondwill closed 6 years ago

asecondwill commented 6 years ago

It would be really helpful if more than one UserForm could be displayed on a page without issues.

When there are two userforms on a page, the JS is confusing them to be two pages of a single form. The validation is also not being applied to the correct form when the second form's submit button is clicked.

There is a little bit of discussion on this over at

https://github.com/dnadesign/silverstripe-elemental-userforms/issues/20

dhensby commented 6 years ago

duplicate of #543

see: #572