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

Forums / Designing & Styling / Quseiton about the registration form

Quseiton about the registration form

5 posts, 0 answered
  1. wing
    wing avatar
    10 posts
    Registered:
    25 Nov 2013
    25 Nov 2013
    Link to this post
    HI,

    I have two questions about sitefinity.

    1.I want to add a new field in the registration form. How can I achieve that?
    2.How can I change the flow of the template?For example , I have two registration forms , which are in two different pages and must be finished by the register, before the success of the registration. 

    Cheers,
    Wing
  2. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    27 Nov 2013
    Link to this post
    Hello Wing,

    Here's a sample of how to add a textfield to your template, so that it is properly wired to the custom field inside your profile type:
    <sitefinity:TextField runat="server" ID="testCustom"  DisplayMode="Write" DataItemType="Telerik.Sitefinity.Security.Model.SitefinityProfile" DataFieldName="testCustom"/>

    The name of my field here is "testCustom" and it is added in the basic profile. If you add the field to another profile type, you will have to change the DataItemType to the relevant Profile Type.  The DataFieldName property indicates to which field the value should be bound. Also, an ID is necessary to be added.

    There is also a forum thread regarding this:
    http://www.sitefinity.com/developer-network/forums/designing-styling/how-to-display-custom-fields-in-registration-form

    You can use the option: "Open specifically prepared page" to redirect the user to another page, but keep in mind that after submitting the form the user will be created.

    Regards,
    Vassil Vassilev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. wing
    wing avatar
    10 posts
    Registered:
    25 Nov 2013
    29 Nov 2013 in reply to Vassil Vassilev
    Link to this post
    Thanks too much Vassil .
    I can do it now but I have another question.
    How to set the validation of CAPTCHA in the registration form?
    but I cannot  do the validation I wanted. I want to validate the CAPTCHA before finished the registration.

    code was posted in below link
    http://www.sitefinity.com/developer-network/forums/bugs-issues-/how-to-set-the-validation-of-captcha-in-the-registration-form-

    Cheers
    wing



  4. Vassil Vassilev
     Vassil Vassilev avatar
    308 posts
    Registered:
    21 Jan 2015
    02 Dec 2013
    Link to this post
    Hi,

    I have responded in details how to add Captcha to a registration widget or using the form builder in your other thread:

    http://www.sitefinity.com/developer-network/forums/bugs-issues-/how-to-set-the-validation-of-captcha-in-the-registration-form-

    Regards,
    Vassil Vassilev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Kaloyan
    Kaloyan avatar
    272 posts
    Registered:
    08 Dec 2016
    02 Dec 2013
    Link to this post
    Hi,

    I have responded in details how to add Captcha to a registration widget or using the form builder in your other thread:

    http://www.sitefinity.com/developer-network/forums/bugs-issues-/how-to-set-the-validation-of-captcha-in-the-registration-form-

    Regards,
    Vassil Vassilev
    Telerik
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
5 posts, 0 answered