Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Ayo Adesina 419 posts 1001 karma points
    May 25, 2014 @ 21:31
    Ayo Adesina
    0

    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?

  • MK 426 posts 902 karma points
    May 25, 2014 @ 21:37
    MK
    0

    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

  • MK 426 posts 902 karma points
    May 25, 2014 @ 21:39
  • Ayo Adesina 419 posts 1001 karma points
    May 25, 2014 @ 22:09
    Ayo Adesina
    0

    what would you say is the 'industry standard' way of doing it?

    and I am using Version 7 does that have any implications?

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies