[5.x] multiple instances of same form #1504
Unanswered
T4zi011
asked this question in
Questions & Answers
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have upgraded the plugin from 3.13.37 to 5.5.8 (Craft CMS 5.4.0.1), I have a form "contatti", I need more instances in same page of this form.
Code first time
Code second time
template "_includes/_form-contatti.twig"
Code generated
first time
<form novalidate="" class="px-xl-5 pt-4 needs-validation" id="hp-form" method="post" data-freeform="" data-id="bfc992-form-jGa8WvEYP-V526EA6RD-p6TdbHAPOisOzvX0LTasEuhe7ukOIXlcX2KtGMZC" data-handle="contatti" data-success-message="Form has been submitted successfully!" data-error-message="Sorry, there was an error submitting the form. Please try again.">
second time
<form novalidate="" class="px-xl-5 pt-4 needs-validation px-xl-5 needs-validation" id="hp-form" method="post" data-freeform="" data-id="bfc992-form-jGa8WvEYP-V526EA6RD-qCzuGxrxNIxaM0Job5i8Ja9EFheQOIFLGVm9eraB" data-handle="contatti" data-success-message="Form has been submitted successfully!" data-error-message="Sorry, there was an error submitting the form. Please try again.">
How you can see, the attributes aren't overriding but concatenated. Previous versions did not have any issues, is it possible to achieve the same result with the latest version?
Beta Was this translation helpful? Give feedback.
All reactions