close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

List Boxes With Validation

Thread began 1/29/2010 8:05 am by tonygmg362159 | Last modified 2/03/2010 5:38 pm by Jimmy Wu | 890 views | 3 replies |

tonygmg362159

List Boxes With Validation

Hi Everyone, i am trying to use the contact us form to have some list boxes within the form, how would i go about validating this? With the code? Thanks

Sign in to reply to this post

Dani Chankhour

Do you have Validation Toolkit extension installed, if you do, you could add these validation easily.

Just to be clear, are you referring to a checkboxes list or a drop down list when you mentioned "list boxes"?

Sign in to reply to this post

tonygmg362159

Yes i do have validation toolkit, iv never really understood it to be honest. Hence why its hardly ever used by myself. Its drop down list boxes i am trying to validate. Help would be greatly appreciated.

Sign in to reply to this post

Jimmy Wu

Ok, you can add the select list (Insert->Form->List/Menu) using Dreamweaver. After adding the list, you would want to click on it and in the properties panel click on the List Values button and add the values you want. If you're populating the values from a database, click on the dynamic button below the List Values button.

When you're done with this, you will have a working dropdown list. You will then want to add validation to the element. Go to Insert->WebAssist->Validation Toolkit. There you'll have a choice of client validation or server validation. The client validation will be run on the client's end, so it doesn't have to go through the server. The server validation will be code running through your server. This validation will be applied to the page that you are posting the form to. In this case, I would recommend just going with client validation. After clicking on the client validation, the Wizard will pop up. Select the correct form and hit next. Enter the error messages you want and hit next. On this step, you will be adding the validations. You will want to select the form element from the dropdown list. Then select the validation type you want and hit the plus button. When you're done, hit finish and the form field will be validated.

Sign in to reply to this post

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