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

Forums / Developing with Sitefinity / Form Validation - One field validates another - Confirm Email Address

Form Validation - One field validates another - Confirm Email Address

5 posts, 0 answered
  1. Kaveh
    Kaveh  avatar
    6 posts
    Registered:
    22 Feb 2013
    05 Apr 2013
    Link to this post
    I am looking for a nice solution to validate form elements based on each other.  For example, I would like to place an enter 'email address' textbox on the form and below that another textbox that states 'confirm email address'.    I don't want the form to submit if the two email boxes are not equal.

    Thanks.
  2. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    09 Apr 2013
    Link to this post
    Hi Kaveh,

    Currently this is not possible out of the box, so you can create a custom form widget using Thunder with 2 text boxes. One for the email and one to confirm the email and handle the logic to compare the values in them.

    All the best,
    Pavel Benov
    the Telerik team
    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. Paul
    Paul avatar
    1 posts
    Registered:
    15 Feb 2013
    25 Sep 2013
    Link to this post
    I'd be interested to see if/how anybody has done this successfully.
  4. Jerson
    Jerson avatar
    2 posts
    Registered:
    26 Nov 2012
    06 May 2014 in reply to Pavel Benov
    Link to this post

    Hi Pavel,

    Is there any update on this topic?  

    Jerson

  5. Pavel Benov
    Pavel Benov avatar
    341 posts
    Registered:
    14 Mar 2016
    08 May 2014
    Link to this post
    Hello Jerson,

    We have not yet introduced this in Sitefinity, so the only option would be to make a custom control. You can take a look at  the following Feature request logged in the system and cast your vote to increase its popularity. This will also subscribe you to automatic notifications each time this item's status changes.

    Regards,
    Pavel Benov
    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 Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
5 posts, 0 answered