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

Conditional Validation

Thread began 10/29/2009 1:08 am by submit102797 | Last modified 10/29/2009 3:25 pm by submit102797 | 2345 views | 1 replies

Eric Mittman

I think you could do this with a server side validation, but you will need to customize the trigger for it.

You would want to add in a server side validation from the server behaviors menu, for the trigger you should choose the select list you want to check the value of to see if you need to validate the other field.

Next you would choose the validation type and form field to conditionally validate based on this.

Once you have configured it you will need to customize the trigger for it, rather than just checking the isset for the posted element you will also need to check to see if it's value is equal to the value you are looking for. If it is then the validation will run against the field, otherwise no validation will occur for that form field.

This is a somewhat custom implementation of the server side validations for this situation. There are other more custom ways you can do this if you need to also incorporate other server validations on the page. Let me know if you have any further questions on this.

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