... What you need to do is create function that you attach to the qforms onValidate method. Check the docs if you need more info but the basic implementation...
Any other gmailers here, like the abilty to select a range of checkboxes by holding down the shift key. Any one know how to do that with javascript? ... Dan...
This was also posted in the WDF-DOM group, same exact posting, They answered your question there, even though it is extremely off topic, so why post it here? ...
My Form has of course a phone number text field. Then if I read your docs correct I am using the following script to check if they are correct. ...
3117
Bill Cody
wjcody@...
Apr 7, 2005 2:13 am
I'm passing a value into a qForm field (County) which I want the user to see as a filled in text field, but not be able to edit. The following construction...
Store the value in a hidden field, either populate the disabled field with the value of the hidden field or just populate both with the same data. Fred T....
... field with the ... Thanks much, Fred, although I'm a little disappointed. Was hoping not to have to create yet more variables to track. The form is ...
have you tried making the field readonly ? On Wed, 06 Apr 2005 22:16:34 -0400, Bill Cody wrote ... (ColdFusion) ... does ... Yahoo! Groups Links ... * Your use...
Why not actually create a function to enable everything again when user click submit? It doesn't work? ... From: Bill Cody [mailto:wjcody@...] Sent:...
Why not try setting the field to readonly http://www.goask.net/faqs/html/how-do-i-make-a-form-field-read-only/ Javascript (qforms) should be able to write into...
Jason, Wai Hing & Andy-- Doh! Setting the fields to readonly and removing all qForm related rules from these fields does exactly what I want the form to do. ...
LOL, No prob.. I do the same thing sometimes.. :-D On Thu, 07 Apr 2005 13:15:19 -0000, bcody7 wrote ... Yahoo! Groups Links ... * Your use of Yahoo! Groups...
3125
Thomas Chiverton
tom.chiverton@...
Apr 9, 2005 10:37 am
The problem occurs when checking a field with '59.0' in (without the quotes). parseFloat turns this into 59, and then the String() of that doesn't match the ...
3126
Matthew Walker
matthew@...
Apr 14, 2005 10:31 pm
The isNumeric() validation rejects "1.000" Here are the relevant lines: var i = parseFloat(this.value, 10); if( isNaN(i) || (String(i) != this.value) ) ...
you need to think significant digits... in 1.000 the only thing significant is the 1 and nothing else. The functions should take this into consideration. ...
3128
Thomas Chiverton
tom.chiverton@...
Apr 15, 2005 8:49 am
... I'm not sure what you mean about significant digits, and I've posted about this bug before. The validation is letting through 1.00001 and 1.10000 but not...
I've got a form that can be reused serveral times in one page. If the user fills it in and has an error, the background will change to red. At this point, if...
The behavior of it not sending is the expected behavior. Disabled fields will not post. What you might want to try is to set up an onSubmit function and use...
I've got a form that can be reused serveral times in one page. If the user fills it in and has an error, the background will change to red. At this point, if...
I have a set of 10 checkboxes, all with the same name but different values, and want the user to check at least one but no more than five. I thought the...
Thanks, Marlon. The solution turned out to be even simpler....I just needed to remove validation and set the fields I wanted not to be editable to "readonly."...
I used this at one point in time for this, not sure if I wrote it or snagged it from somewhere. It has nothing really to do with qForms though, could be called...
Hi Aaron-- Thanks for the routine. The one I'm using is listed below, which actually has min and max argumnets. What I want to do is write a general...
I have tried a hundred different ways to get a custom validation function to work with no luck. The function definitely runs and if I insert code inside to...
I have just discovered the problem is if my function gets any arguments passed to it the function always passes validation. If I do not pass any arguments it...
Try adding a third argument, "true", to the _addValidator, like so: _addValidator("isMaxCheckBox", _f_isMaxCheckBox, true); Bill ... do ... the ... this.error ...
What I ended up doing was using throwerror in my function to get the error message to stay on the queue, no matter what I did with this.error it would not...
One other prospect. I was having the same problem getting this.error to work when passing parameters. Problem went away when I did two things: a) added true...