close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

How to setup Server Vaildation for existing username and email?

Thread began 7/14/2013 8:13 am by Nutzo247 | Last modified 7/23/2013 3:27 am by Nutzo247 | 1181 views | 6 replies |

Nutzo247

How to setup Server Vaildation for existing username and email?

I'm trying to do a server validation for both username and email to confirm if it exist in the database, but it not working. I'm using "Unique Database value" but I'm not sure if the settings are correct.

For example:

Unique column: "username"
Key column: "userID"
keyvalue:0

Sign in to reply to this post

Jason ByrnesWebAssist

Originally Said By: Nutzo247
  I'm trying to do a server validation for both username and email to confirm if it exist in the database, but it not working.  



Your wording sounds like you want to pass validation if the User name and password do exist in the database. Is this correct? Or are you trying to ensure that the username and password do not exist already?

Sign in to reply to this post

Nutzo247

sort of...

I want to pre-check if username and email exists in the database before it's added. if the username or email exists then the user is prompted to pick a different username or with email they would be prompted to go to the forgot password page.

Sign in to reply to this post

Jason ByrnesWebAssist

there are a few problems on this page

1) The key value should be left blank for an insert

2) You are adding multiple instances of the Server Validation server behavior. You should have only once instance of the server validation server behavior. in that one instance, you can define the validations for each form element.

3) The code for the server validation server behavior is being added after the insert, it should be before the insert.

Sign in to reply to this post

Nutzo247

Originally Said By: Jason Byrnes
  there are a few problems on this page

1) The key value should be left blank for an insert  



the Unique Database is asking for a value and just to confirm:

the Unique column should be username and the key column should be userID

Sign in to reply to this post

Nutzo247

it now seems to be working I fudge it by putting in a blank space (space bar)

Sign in to reply to this post

Nutzo247

This post has been deleted.

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

Content

rating

Layout

rating

Ease of use

rating

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...