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

Forums / Developing with Sitefinity / Adding additional Form Builder Validation

Adding additional Form Builder Validation

2 posts, 0 answered
  1. Thomas
    Thomas avatar
    7 posts
    Registered:
    07 May 2008
    10 Aug 2011
    Link to this post
    Hi,

    I have a specific requirement from my client that forms built with form builder has to include validation that a user only submits one form entry per email.  In other words, I need to check against the submitted database to see if that user's email address is already entered.  Ideally I'd like to be able to create new forms that have this feature as optional so that some forms can be created without the single email entry requirement while other forms I need it present. 

    Anyone have ideas how to best approach this?  Right now I can go to 'settings' and limit entry to one per IP, one per username, or no restrictions.

    Any ideas or help is greatly appreciated!

    Thomas Dahl
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    16 Jun 2017
    10 Aug 2011
    Link to this post
    Hi Thomas,

    You can subscribe for the click event of the FormsControl and there check for existing email. Check this post

    http://www.sitefinity.com/devnet/forums/sitefinity-4-x/general-discussions/4-0-form-builder-click-event.aspx

    Greetings,
    Ivan Dimitrov
    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
2 posts, 0 answered