close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Form Validation Help needed!

Thread began 6/14/2009 7:34 pm by achilles.m91382174 | Last modified 6/15/2009 5:22 am by tom250037 | 1238 views | 3 replies |

achilles.m91382174

Form Validation Help needed!

Hello guys. I have created a form in dreamweaver and im now using Webassist's form validation toolkit to validate my form.
But the problem i am facing is that i am not able to validate all the fields.

When i select validation > client side validation:
Then i get a box in which we have to choose entries that have to be validated and how they have to be validated but all the entries in the form are not there in the list from where i can choose the form elements to validate.

For example i can choose all the radio buttons to validate and all the select also but many of the textfieds are not in that list.

Please help!

Sign in to reply to this post

tom250037Beta Tester

Can you paste the html content of your form.
Everything between and including the <form> </form>

Thanks.
Tom

Sign in to reply to this post

achilles.m91382174

Thanks for the hint :)

Problem solved. Actually i was working on some existing form so the textfields that were present in the form were not originally created by me and this was the problem :

<input name="firstname" class="input_bgr" id="firstname" style="text-transform:uppercase" onblur="isUpper(this)" size="12" maxlength="20" />



I changed it to

<input name="firstname" type="text" id="firstname" style="text-transform:uppercase" onblur="isUpper(this)" size="12" maxlength="20" />



And now its available in the list.

Thanks

Sign in to reply to this post

tom250037Beta Tester

Yep, It was probably the missing type="text".
As I have worked with, and cleaned up other developers code, I have found a number of reasons that validation toolkit will not recognize form elements. Sometimes if they are in a table, or have invalid attributes, or missing quotes around values etc.

Glad you got it figgured out!

Tom

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