#1 (permalink)  
Old 09-04-2007, 12:25 PM
curtiss's Avatar
Moderator
 
Join Date: May 2003
Posts: 1,437
Restricting Multiple Entries on a Form

I'm developing quite a few forms here at work, and I keep running up against one particular problem that pretty much has me baffled. I am asking for advice and suggestions from you guys.

When I develop a new form, in most cases, I want to be able to stop someone from being able to submit the form more than once. Tracking IP addresses is pretty much out of the question, since so many of the respondents will all share IP addresses.

I have thought about using cookies to stop someone from submitting the form multiple times. In some cases, this will work. However, in other cases, I'm not really looking to stop them from submitting the form more than once, I'm just trying to stop them from submitting the same information more than once.

For instance, one of the forms is an RSVP form, allowing users to tell us whether or not they'll be attending special events at the College. Obviously, some users will need to submit the form more than once, as they very well may attend multiple events. However, I still need to find a way to successfully stop them from accidentally responding more than once for the same event.

In most cases, I have just set up my forms to check the database to make sure there are no other entries with exactly the same information. However, if someone inputs slightly different information the second time around, the processor won't catch this.

For instance, if I submit the form using "Curtiss Grymala" the first time, but I submit it using "Curtiss A. Grymala" the second time, both submissions will go through successfully.

Any suggestions?

BTW - All of the forms in question are currently written in VBScript (not VB.Net) and dump into an Access database.
__________________
I hate Internet Explorer! Anyone with me?
Reply With Quote

  #2 (permalink)  
Old 09-04-2007, 01:58 PM
Allen's Avatar
Administrator
 
Join Date: Dec 2001
Location: Atlanta, Georgia, USA
Posts: 1,048
Is email or name on the field list typically?

You could do an ajax/button lookup - and if x email address is already on the list, stop them.

So one idea is:
-- instead of showing the whole form, just show email address field
-- they input email address, click verify
-- if not in, ajax display the form
-- if in, show error message
Reply With Quote
  #3 (permalink)  
Old 09-05-2007, 10:57 AM
Deadeye's Avatar
Moderator
 
Join Date: Aug 2005
Location: San Diego, CA
Posts: 274
Send a message via MSN to Deadeye
you can also check via ajax or on submit, and parse the name (via spaces) and do a regular expression or a name like '%Name%' and check for the same subject or event. If you match (2 first name/last name) out of 3 or more (middle initial) than you have the same persion.

Hope this helps

Wesley
__________________
Don't forget to rate me A+++++++++++++++++!!!!!111one for the service you have received.
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto submit a form? possible? Allen Programming and Scripting 1 08-04-2006 03:14 AM
Sending a form, not just the results by email kenwvs Programming and Scripting 1 06-29-2006 05:46 PM
Setting Values For Form Elements With Unconventional Names curtiss Programming and Scripting 2 06-04-2006 09:28 PM
Obtaining a Form Elements Index by Name curtiss Programming and Scripting 3 05-02-2006 11:25 AM
passing information from 1 form to another amanxman Programming and Scripting 3 04-12-2006 04:59 PM


All times are GMT -5. The time now is 05:23 PM.

 
Bitrix
Clicky Web Analytics
CloudContacts
Maxtango


Subscribe to our feed | add to myYahoo!

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
© 1997-2007 HTMLCenter