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.

2
  • 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 Mar 2, 2017 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, 2017 at 17:45

1 Answer 1

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 and acknowledge that you have read and understand our privacy policy and code of conduct.

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