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

Doubling client side validation enabling form field on DA insert page

Thread began 8/31/2009 11:02 pm by afkrennie381204 | Last modified 9/04/2009 2:28 pm by afkrennie381204 | 2452 views | 5 replies


Doubling of client-side validation in DA with VTK

Hi Eric,

Thanks for your reply - still not working unfortunately. Just to summarise the problem:

I have 2 fields in a DA Insert page:
1) checkbox asking if the order is part of a group - it may or may not be for an order to be valid
2) textfield accepting a group code [initially disabled then enabled through client-side validation if 1) is checked]

I have applied server validations and bound the validated entries to the form so that if one field fails, and the form reloads (which I ask it to) then the correct entries are stuck on. Bizarrely, I've noticed that the content of 2) is bound even if it is NOT valid.

If the page is reloaded then 2), the textfield is disabled again, even if the checkbox 1) is ticked. This means that if the content entered in the textfield 2) needs to be reentered then it's inaccessible.

So unfortunately a default enabled/disabled function on a "body onload" substitute in the header doesn't fit in with the purpose of the form as 2) may/may not need to be enabled/disabled on reload.

I've put the lengthier code in the editable head, right at the end so all other Validations must come before it. It seemed to even disable the original (on checkbox) enabling client-side validation i.e. the textbox 2) wouldn't enable even when the checkbox 1) was checked.

Yikes. Don't know what to do now. I'll keep trying and update you later today.

Please bear with me - I really need to crack this Eric. Many thanks again,




Still no joy...I await advice. Many thanks Eric, Ann

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