Our users would like to add the same form twice to the page. I guess once near the top and again close to the bottom of the page (not here to debate whether this is good or bad).
After doing some testing, I noticed that if I add the same form twice to the page then the following happens:
If I fill out the top form only and click submit, I get form input validation errors for both forms and no form is sent off. I guess this is because in the 2nd instance of the form, the input fields are empty, so as far as the validator is concerned something is wrong.
If I fill out the bottom form only and click submit, then the bottom form is sent off properly, but the button on the top form displayes a circle (it is waiting for feedback on form success I guess).
Is there anything I can do to allow:
Any ideas how to approach this?What files do I need to look into? (Am new to EPiServer development and did not get very far yet).
Currently EPiServer.Forms does not support to have same form appears twice on a page.
We are experiencing the same issue for one of our customers..
Hi Quan Tran,
What do you suggest to overcome this situation?
Duplicate the same form or create new one (this will increase our headache)?
Hi Praful Jangid,
I think you have to create new one. We're so sorry about this limitation.
There's a workaround for this. Let's say you have a page named MY PAGE and you want the same Forms to appear twice on this page, so:
Please try this solution and let us know if it solves your problem.