Right now what I'm trying to accomplish is to only validate a certain field - let's call it emailAddress - if a certain radio button is selected. Let's call...
According to what I've experienced the validateEmail() should only throw an error if there was a value entered and it is not a valid email address. Making it...
The createDependencyTo would not work in this situation since selecting either of the Yes/No needEmail radio buttons would cause the emailAddress field to be...
Based on the documentation (http://www.pengoworks.com/qforms/docs/extension_fields.htm#createDependencyTo) I'd have to disagree with Dean. The JavaScript...
It seems to be creating the dependency regardless of the value of needEmail - I can check the value using getValue() and it says the value is 1, but it is...
1 is the same as "True" in javascript. So it sounds like its working as it should if not as you expected. Fred T. Sanders ... From: "less_than_kind"...
Is there a way to trigger the validation on a form without submitting it? I want to validate information before inserting it into a hidden table for later...
Use the validate() method. -Dan _____ From: qformsapi@yahoogroups.com [mailto:qformsapi@yahoogroups.com] On Behalf Of Aaron Rouse Sent: Wednesday, January 16,...
Dan, Guess one thing I should have asked before I go digging too far, after I run the validate() is there something I can check to see that the validate() ...
I recently required the use of a removeValidation() on the fly function and was unable to find something that would work - so I came up with something. file:...
No, that wouldn't work for my purpose. I needed to change the validation to a different type (US zip code to Canadian zip code) - the field was still...
This may sound a little odd, since forced validation should be just that. However, the behavior of qForms, when 'validate=true' is set for a field, is to run...
Hi Dan, Thanks very much for your reply., I assumed that I'd have to modify the framework files; I just couldn't find exactly where the focus() code was. ...
I have a rather complex form that dynamically creates a variable number of text fields. Applying a qForm object, setting description and required values for...
The fields are actually retrieved via Ajax, rather than being created via DOM. I track the fields in a Javascript Array and then loop over this array of...
hi guys, i have simple form containing 2 x multiple selects - products_available and products_selected. products_selected is populated from a query. problem:...
Hi, my problem is when submitting one form i want to show custom error message like "xyz" instead of default error message "The following error(s) occurred:"...
I have 2 fields and I need to make the second field (text input box) required only if the first field (checkbox) is checked off. Please advise. Thanks!!...
There is a field method call createDependencyTo that allows you to bind one field to another. You can find a description of this in the documentation. ...
I have 2 questions: 1) I am using ValidateFormat to allow 4 digit year into a year field, on the error message "I get This field requires at least 4 valid ...
How can I add a validation function that is not specific to one field to run when I submit the form? I know I could do something like: function frmSubmit {...
Ok, I should just type out my emails and not send them because it tends to make me find the answer. I just realized I could use validateAtLeastOne() ... -- ...