close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Make sure users can't have duplicate info

Thread began 3/12/2010 10:15 am by mrobben375515 | Last modified 3/18/2010 7:26 pm by mrobben375515 | 1818 views | 15 replies

Eric Mittman

I think what was being suggested is close to what you are doing but differs a little. Rather than using Security Assist to create the rule to check for the duplicate user you should be adding a server side validation with CSS Form Builder or Validation Toolkits server side validations.

The idea is that you have a recordset that is filtered on the entered value for the user, then with the server side validation you are checking that recordset to see if there are any rows in it. The recordset will only have rows in it if there are matches in the table. So this is why you apply the server validation for a number type and use the total rows of the recordset as the number to validate.

What this will do in the end is if the user enters a value that already exists this recordset will try to find a match, if one is found there will be 1 row in the recordset. Next the server validations will check the total rows to make sure that it is not greater than 0, if it is the validation will fail. You can then have your validation show if around the error message you want to display to the user to let them know that the value is already in use.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...