Umbraco 7 Forms - Multiple Forms Validation Problem
There are numerous forum posts which skirt around this problem, but none which display the same symptoms.
Scenario
I have a page which has two forms, both of which are created in Umbraco forms 7 and both have validation. One form is in a template and is rendered via @Umbraco.RenderMacro. The second is in a page property and placed in a rich text editor via 'insert macro'.
The form which is in a template is a voting form, and appears in the same place on every page of the website. The one in the page property is an application form. It should be possible for a user to complete the application form, then vote on how useful the page was.
So, here is my problem. Whichever form the user submits first, if it fails validation then submissions for the other form are ignored whether valid or not.
Another problem is that once the application form has been submitted and the form submission message is displayed, if the second form is submitted then none of its validation fires, instead the first form appears back again, empty, with validation errors displayed. i.e. the submission buttons appear to be crossing over at some point. I have put together a simple user application form to demonstrate this. In the image below the form on the left has been submitted and the submission confirmation message displayed in its place. If the user then clicks 'Post My Comments' then the left hand form is displayed again as shown. This whole scenario applies to either form depending on which is submitted first.
I have seen posts relating to the absence of validation groups for individual forms but have yet to find an acceptable workaround for my particular problem.
Any practical assistance would be gratefully received.
Umbraco 7 Forms - Multiple Forms Validation Problem
There are numerous forum posts which skirt around this problem, but none which display the same symptoms.
Scenario
I have a page which has two forms, both of which are created in Umbraco forms 7 and both have validation. One form is in a template and is rendered via @Umbraco.RenderMacro. The second is in a page property and placed in a rich text editor via 'insert macro'.
The form which is in a template is a voting form, and appears in the same place on every page of the website. The one in the page property is an application form. It should be possible for a user to complete the application form, then vote on how useful the page was.
So, here is my problem. Whichever form the user submits first, if it fails validation then submissions for the other form are ignored whether valid or not.
Another problem is that once the application form has been submitted and the form submission message is displayed, if the second form is submitted then none of its validation fires, instead the first form appears back again, empty, with validation errors displayed. i.e. the submission buttons appear to be crossing over at some point. I have put together a simple user application form to demonstrate this. In the image below the form on the left has been submitted and the submission confirmation message displayed in its place. If the user then clicks 'Post My Comments' then the left hand form is displayed again as shown. This whole scenario applies to either form depending on which is submitted first.
I have seen posts relating to the absence of validation groups for individual forms but have yet to find an acceptable workaround for my particular problem.
Any practical assistance would be gratefully received.
is working on a reply...