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

Clarification needed for validating forms

Thread began 7/17/2012 2:38 pm by jon211112 | Last modified 7/21/2012 3:10 pm by jon211112 | 435 views | 2 replies

Jason ByrnesWebAssist

In the server validation behavior, set up 3 validations:

1. Email address is in the email format

Select email address validation type, for the Server Variable, click the lightning bolt icon, and select the email address form element

2. Two password fields match

Select Like Entry validation type, for the server variable, click the lightning bolt icon and select the password form element. Click the plus button to add it to the list of validation, this will open a prompt for you to select the comparison element, select the password confirm field.

3. The email address is not already in the database

Select Unique Database entry validation type, for the server variable, select the email address element. when you click the plus button, select the table to use and the unique column.

Set the key column to the Primary key column, and leave the key value at 0.

to show validation error messages on the page, type the error, select it then go to WebAssist -> Forms -> validation -> Validation show if. select the validation that should fail to show the error message, and click the plus button to add it to the conditions.

One thing to bear in mind wit this is that the validation failure is stored in a session.

this means that if the form fails validation, you browse to another page then come bucket the form page, the validation error messages will still show.

the validation failure wont be cleared until the validation passes.

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