I've built a contact page on my org's site. It currently has a single Salesforce web-to-case form, but I need to have two separate forms (one for app users and one for general inquiries). I've been trying to troubleshoot an issue with the second form on the page not submitting to the server. I can switch the positions of the forms, but the first one on the page is the only one to successfully submit. So I updated the field id
and name
values to be unique. Here's what I've tried:
- Switched form positions. Result: Only first form submits, whichever form is first on the page.
- Made all fields, including hiddens, unique. Result: no submissions.
- Made non-hidden fields unique. Result: Only first form submits, and all fields with non-original (Salesforce provided)
id
andname
values come through blank.
It seems like each field's id
and name
values are important to the server when submitting, but I can't have non-unique values on the page together.
I've been working on this for too long already. My backup plan is to place the forms on separate pages, but the preferred outcome is for both forms to be on the same page. Can anyone provide an answer? Is it possible to have multiple web-to-case forms on the same page?