Hi all,
I am stuck with an issue about multiple forms on the same page. I would really appreciate your help :-)
Problem
My page has 2 different forms for customer inquiry (i.e. "Get a quote" and "Book a test drive"). When submitting one, the other fires validation.
Looking at the html markup, I noticed that each field id/name/label[for] have a GUID instead of the field alias (is this by design? Why not field alias?). Also, the id of my "First name" input on "Get a quote" form is exactely the same of "Book a test drive" field. And this is the same for all the other common fileds. I guess this is the cause of "double validation".
Environment and settings
Umbraco 7.10.3 - Umbraco Forms 7.0.2 - I am using a custom form theme template - I am using server only validation (no js at the moment)
My process steps
Create the form "Get a quote" (First name, Last name, Email, Phone,
etc.)
Copy this form to create the new "Book a test drive" (same
basic fileds with some other added)
Implement these 2 forms in my
template vew with @Umbraco.RenderMacro("renderUmbracoForm", new {
FormGuid="85426a43-274b-4304-80c9-e88234ae66eb", FormTheme ="bootstrap4", ExcludeScripts="1"})
(the same method for the second form with its own GUID)
Possible bug or my mistake?
Copying forms does not provide/re-assign a different GUID for copied fileds? Missing anything in my code/implemtation?
Multiple (copied) forms on the same page
Hi all, I am stuck with an issue about multiple forms on the same page. I would really appreciate your help :-)
Problem
My page has 2 different forms for customer inquiry (i.e. "Get a quote" and "Book a test drive"). When submitting one, the other fires validation.
Looking at the html markup, I noticed that each field id/name/label[for] have a GUID instead of the field alias (is this by design? Why not field alias?). Also, the id of my "First name" input on "Get a quote" form is exactely the same of "Book a test drive" field. And this is the same for all the other common fileds. I guess this is the cause of "double validation".
Environment and settings
Umbraco 7.10.3 - Umbraco Forms 7.0.2 - I am using a custom form theme template - I am using server only validation (no js at the moment)
My process steps
@Umbraco.RenderMacro("renderUmbracoForm", new { FormGuid="85426a43-274b-4304-80c9-e88234ae66eb", FormTheme ="bootstrap4", ExcludeScripts="1"})
(the same method for the second form with its own GUID)Possible bug or my mistake?
Copying forms does not provide/re-assign a different GUID for copied fileds? Missing anything in my code/implemtation?
Thank you in advance for your help!
Federico
Hi Federico
Did you solve this issue? Can you share with our community?
Alex
Hi Alex, thanks for reminding.
Yes, the bug was fixed and we solved our issue.
Federico
Hi Alex, unfortunately we were wrong about the possible fix and this issue is still there
Got the same issue with Umbraco 8 - Forms 8.1.1.
Any updates about the fix?
I have re-reported the issue here.
is working on a reply...