Hi,
I have created contact form and rendred form in my View using:
Umbraco.RenderMacro("FormsRenderForm", new { FormGuid = "c333da43-d746-4fd8-a6b6-7deda6f02ee2" })
My work flow is :
On Submit -> Display message : "Thank you..." -> Send an email.
Everything works fine the only problem I am facing is after submit it loads the whole page. As I have this contact form rendered in my footer after submit the whole page loaded and user have to scroll all the way footer of the page to see the "Thank you.." message.
My question is how to make the form submit action as ajax so the whole page not get loaded.
Umbraco form Ajax
Hi, I have created contact form and rendred form in my View using:
My work flow is : On Submit -> Display message : "Thank you..." -> Send an email.
Everything works fine the only problem I am facing is after submit it loads the whole page. As I have this contact form rendered in my footer after submit the whole page loaded and user have to scroll all the way footer of the page to see the "Thank you.." message. My question is how to make the form submit action as ajax so the whole page not get loaded.
Please help.
Thanks
Any help on this please.
Thanks
seems like no body got answer to this? :(
HI Fahad,
This thread should help: https://our.umbraco.org/forum/umbraco-forms/80174-ajax-umbraco-forms
You'll need to make a tweak to the partial that renders that specific form in Views/Partials/Forms/[create a folder with the form's GUID]/Form.cshtml
-Amir
is working on a reply...