I am using the Overflow one page starter kit with my v7.4 Umbraco CMS website. Within the template there is a contact form that uses a UmbContactController.cs and separate js file.
This works great as a simple contact form on my page, but I run into trouble when I try to add a secondary slightly different request call back form further up the page. I've copied the Contact Controller and called it something different and renamed the input fields so there isn't a conflict with the other form, but still no joy with getting it to work. Any suggestions much appreciated, I'm well and truly stuck at the moment.
Overflow template contact form multiple instances
Hi,
I am using the Overflow one page starter kit with my v7.4 Umbraco CMS website. Within the template there is a contact form that uses a UmbContactController.cs and separate js file. This works great as a simple contact form on my page, but I run into trouble when I try to add a secondary slightly different request call back form further up the page. I've copied the Contact Controller and called it something different and renamed the input fields so there isn't a conflict with the other form, but still no joy with getting it to work. Any suggestions much appreciated, I'm well and truly stuck at the moment.
Many thanks in advance
Nick
Hey Nik
I haven't used the starter kit yet. But when I have an issue with a form on my Umbraco site I double check this documentation https://our.umbraco.org/documentation/reference/templating/mvc/forms
It explains all the components and the flow really well.
If you cant get it to work, don't hesitate to give a shout and ill see if i can reproduce your issue with the starter kit.
Cheers
Sven
is working on a reply...