Hello everyone, hope you're having a nice day today.
I am having trouble with creating a contact form in Umbraco 9. I can not find a way to create a controller that will handle the contact form, so I am here asking you guys for some help.
I just want a simple form with basic data like name, email, title and message, but I can not create the model or the controller.
You would create an UmbracoApiController, and POST the data from the webpage to the controller using the JavaScript Fetch API, or jQuery AJAX, for example.
Most concepts are pretty much the same as in regular ASP.NET.
Umbraco 9 contact form
Hello everyone, hope you're having a nice day today.
I am having trouble with creating a contact form in Umbraco 9. I can not find a way to create a controller that will handle the contact form, so I am here asking you guys for some help.
I just want a simple form with basic data like name, email, title and message, but I can not create the model or the controller.
Thank you all in advance for the help
You would create an UmbracoApiController, and POST the data from the webpage to the controller using the JavaScript Fetch API, or jQuery AJAX, for example.
Most concepts are pretty much the same as in regular ASP.NET.
https://our.umbraco.com/documentation/reference/routing/webapi/
is working on a reply...