2

When there's two forms on a single page. (E.g Newsletter Sign up and Book a Tour) The submit button obviously validates both forms.

How can I differentiate between them both and make them independent?

{{ craft.freeform.form("newsletter", {
    id: "form-newsletter"
    }
}).render() }}

The other form is loaded into the page through a template via a custom field.

  • I never used Freeform but I always use formbuilder but the issue I always come up with is one of the ID's being the same. Try to change that if you have them selected in a matrix block you can set the block.id behind all your id's – Justin Dekkers Mar 2 '17 at 9:05
  • In the example above I had set the ID of the form to be unique but it didn't work. – Mark Mar 2 '17 at 17:45
1

Thanks for reporting this issue. We'll have a fix available for this in the next release of Freeform. :)

In the meantime, affected customers can contact us for a patched copy.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.