Haven't used umbraco for a while and just installed V7. I have manged to get a single home page up and working and want to add a contact form. I don't want to use an plugins just want to use .net code to get the form fields and send an email.
I am comfortable with .net just want a few pointers for the approach.
Should I just create a html form and post it to a controller action, if so do I need to configure anything around routing in umbraco to make it work?
Simple .net base contact form, Umbraco 7
Haven't used umbraco for a while and just installed V7. I have manged to get a single home page up and working and want to add a contact form. I don't want to use an plugins just want to use .net code to get the form fields and send an email.
I am comfortable with .net just want a few pointers for the approach.
Should I just create a html form and post it to a controller action, if so do I need to configure anything around routing in umbraco to make it work?
Or should I use a partial view? a web form?
Any ideas?
Hi,
I think the following tutorial should put you on the right track:
http://24days.in/umbraco/2012/creating-a-login-form-with-umbraco-mvc-surfacecontroller/
Its for a login form but same applies to contact form as well.
Regards,
Moshe
Another easy one:
http://our.umbraco.org/documentation/Reference/Mvc/forms/turorial-partial-views
what would you say is the 'industry standard' way of doing it?
and I am using Version 7 does that have any implications?
is working on a reply...