Back in Tap3, if you disabled form fields on the client it would totally screw up server side validation (and some client validation schemes). It was a technique frought with peril. I recommend going thru a generated page with a fine tooth-comb to make sure that your client-side disabling wasn't messing up element references in the rendered client validation code. My guess is that it probably is.
Also - disabling a field usually means it's not going to get sent to the server, so make sure your form listener accounts for that. The error message you're seeing is Dojo's debugging message. It's appended to the document when there's not another debugging console attached (google Firebug...). I'm guessing you're not useing Tap3, and that Dojo has shouldered the load of performing field validation. If it's getting a field to validate, and it's missing properties - then the field is probably disabled. Hope this helps. </bd> On 1/12/07, Jim Downing <[EMAIL PROTECTED]> wrote:
Warning: This message has had one or more attachments removed Warning: (verify.js). Warning: Please read the "FilterNotice.txt" attachment(s) for more information. Stefan Esterer wrote: > Can you post your script, page and html file so we can study it? > At the moment I'm just trying to use the built in validators (I'm using Required, Pattern, Min, Max and MaxDate). verify.js is a custom script that just does some input disabling based on a radio choice - I'm hoping it's not relevant. The validation works server side, when the form clientValidationEnabled is set to false, but I get the error message below when it's set to true. Thanks, jim >> Can anyone help me to get client-side validation working? >> >> I've enabled client side validation on my form component, and used a >> ScriptIncludes component to load the dojo components, but now whenever I >> submit the form (whether or not there are any invalid inputs) the >> following message is appended in a div at the end of the document: - >> >> ERROR: 12:03:28: Error validating TypeError : value has no properties : >> http://localhost:8084/spectrasub/submission?service=asset&path=%2Fdojo%2Fdojo.js >> : line 24 >> >> Any ideas what gives? >> >> thanks, >> jim >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > This is an automated message from the University of Cambridge's central email virus filter. The original email attachment "verify.js" had an unacceptable file name or type, so it has been deleted and replaced by this notice. For more information about the virus filter and advice on what to do about this message, see <http://www.cam.ac.uk/cs/email/scanner/filetype.html> On Fri Jan 12 12:53:07 2007 the virus scanner said: JScript Scripts are dangerous in email (verify.js) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]