+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / How to create a form wizard using Sitefinity forms?

How to create a form wizard using Sitefinity forms?

2 posts, 0 answered
  1. Newton
    Newton avatar
    7 posts
    Registered:
    19 Apr 2011
    08 Jan 2014
    Link to this post
    Here's our scenario:

    The user visits the form page. The first screen of the form asks for what they would like to be contacted about.  There is a button which asks them if they want to add another item to be contacted about.  If they click the button, it will save their values, clear the screen and allow them to enter another item.  When they are done entering all the items and click Next, it will show the 2nd screen which will ask them for their contact information (Name, email, etc.). 

    How can we create this using Sitefinity forms or does this have to be a completely custom user control and placed on a page? I don't mind building the custom user control, but it would be nice to keep everything consistent to how Sitefinity works. 

    If I need to create a custom user control, how would I go about have the responses show up in the Form Responses backend screen and how would I have the custom user control form use the same SMTP settings as the standard Sitefinity forms?

    Thank you.
  2. Teodor Georgiev
    Teodor Georgiev avatar
    2 posts
    Registered:
    29 Apr 2010
    09 Jan 2014 in reply to Newton
    Link to this post
    Hi,
    try to do it this way :

    1. Create a form will ALL the needed fields there.
    2. Create a custom user control which will handle the logic for the needed values
    3. When the user click Finish you can populate the values in a form entry for that form.

    http://www.sitefinity.com/developer-network/forums/general-discussions-/create-form-responses-programmatically- 

    check this how to do the first part.

    For the other question how to use the sitefinity email settings or the build in mail sender you can use the EmailSender class. It should use the Sitefnity SMTP configuration.

2 posts, 0 answered