Copied to clipboard

Flag this post as spam?

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


  • Brandon Frost 6 posts 26 karma points
    Aug 03, 2015 @ 14:25
    Brandon Frost
    0

    Creating multipaged forms.

    I'm looking to implement a form that is too long to place on one page. The form has round about 30 inputs and has to have custom validation as well. I was wondering what would be the easiest way to implement this in umbraco. I know umbraco sells contour to handle forms. However, so far I've not heard any account of its ability to create forms with highly customized functionality.

    I've researched using webforms and mvc but for some reason when I open my umbraco site in Visual Studio, intellisense does not seem to work properly.

    Any help would be greatly appreciated

    Thanks,

    Brandon

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Aug 05, 2015 @ 14:20
    Alex Skrypnyk
    0

    Hi Brandon,

    Do you have web site or web application?

    Great example how to create multistep form with c# mvc -

    http://stackoverflow.com/questions/17178164/best-practice-for-a-multipage-form-mvc-web-app

    The only difference is that you need to use Umbraco Surface controllers instead of usual.

    Thanks, Alex

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Aug 05, 2015 @ 14:32
    Dennis Aaen
    0

    Hi Brandon,

    Are you using Umbraco 7.2 or heiger then you perhaps should have at Umbraco Forms http://umbraco.com/forms

    For the documentation of Umbraco Forms look here. https://our.umbraco.org/documentation/Add-ons/UmbracoForms/

    Hope this helps

    /Dennis

  • Brandon Frost 6 posts 26 karma points
    Aug 05, 2015 @ 14:54
    Brandon Frost
    0

    I have an umbraco implementation with some .net user control so I would assume that would fall under web application. My site is found at ckcusa.com if you need something to look at. I guess a good starter question would be,

    When you are going to add new functionality, like a form, to an umbraco implementation, what are the first steps to opening it in a Visual Studio sollution? or do you create a separate project in visual studio and deploy it to the umbraco implementation?

    P.S. I'm using umbraco 6.2.5

  • Alex Skrypnyk 6163 posts 24143 karma points MVP 8x admin c-trib
    Aug 05, 2015 @ 15:12
    Alex Skrypnyk
    0

    Hi Brandon,

    It depends on what do you want.

    For Umbraco 6 you can use https://our.umbraco.org/projects/umbraco-pro/contour, it's really easy to create and manage forms with this package.

    You can create usual mvc form and handle it with the controller.

    Thanks, Alex

  • Craig Cronin 304 posts 503 karma points
    Aug 05, 2015 @ 15:24
  • Brandon Frost 6 posts 26 karma points
    Aug 05, 2015 @ 15:47
    Brandon Frost
    0

    I appreciate all of the feedback, but the missing piece to this puzzle is that I need to know how to open my existing site as a project and develop mvc pages in it just as I would in a normal mvc project.

  • Craig Cronin 304 posts 503 karma points
    Aug 05, 2015 @ 15:53
    Craig Cronin
    0

    If you don't have a MVC enabled project that you can compile etc, I would

    1. find out what version of umbraco you are using from the web.config.
    2. follow these instructions on creating the visual studio solution http://umbraco.tv/videos/umbraco-v7/developer/fundamentals/surface-controllers/setting-up-the-vs-solution/
    3. Then copy your code over this.

    Now you should be able to add surface controllers, compile the project etc.

Please Sign in or register to post replies

Write your reply to:

Draft