Results 1 to 3 of 3

Detect duplicates in user form text boxes

Threaded View

  1. #1
    Registered User
    Join Date
    08-23-2008
    Location
    USA
    Posts
    9

    Detect duplicates in user form text boxes

    Hi,

    I have a user form with 4 text boxes and a command button. I have no problem looping through the textboxes to retrieve the value, but what is the best way to detect if any duplicates exist between the four text boxes?

    For example, in the command button's code:

    If textbox one's value is "test" and textbox four's value is also "test", it should throw an exception.

    If a question like this has already been answered, a link to that post would surely suffice.

    Thank you
    Last edited by ds84; 06-14-2009 at 12:17 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1