I am looking at the blog posting a while back about using qForms with an AJAX call to do server-side validation. ...
3776
jgillett
Mar 19, 2007 6:44 pm
Hi folks, New to this API, but stuck on my first use (besides, it's Monday!). On a ColdFusion page, a query pulls in various info, including 'Equip39; and...
3777
Edward A Savage Jr
sonnysavage
Mar 20, 2007 9:57 am
Ok... You're hard-coding the value here: "objForm. EquipValue. setValue( #qryEquip. Cost#);". It's always going to pass the first value from your query. You...
3778
jgillett
Mar 20, 2007 2:50 pm
Hi, Realize the query would just pull the first item, but didn't know how to get around it (JS is not my thing). Unfortunately, what you posted does not work....
3781
Dean Lawrence
deanmlaw
Mar 22, 2007 1:41 am
Hi John, Your problem has to do with your ColdFusion code, not with QForms. Don't use the <cfselect> tag to create your list, since it only allows you to pass...
3782
jgillett
Mar 22, 2007 3:28 pm
Hi Dean, Thanks for your time. Regardless of what is selected from the list, the output displayed in the EquipValue field is always [object HTMLSelectElement]....
3783
Edward A Savage Jr
sonnysavage
Mar 22, 2007 4:41 pm
If you combine what he said with what I said, you'll get working code: <form name="EquipmentForm"> <select name="SelEquip"> <cfoutput query="qryEquip"><option...
3784
jgillett
Mar 23, 2007 4:37 pm
Unfortunately it still does not work. I stripped _everything_ out except what you folks gave me (and the API calls, of course), and still get either nothing or...
3785
Dan G. Switzer, II
dswitzer2
Mar 23, 2007 5:08 pm
John, Can you post the code that you have? -Dan...
3786
Fred T. Sanders
sandersfred
Mar 23, 2007 7:13 pm
I almost wonder if you still have the form as a cfform, even though you've probably now done away with the cfselect and your using pure html from <selects>...
3787
Aaron Rouse
aaron_rouse
Mar 23, 2007 7:20 pm
I do not think that would matter, I have used qForms with CFFORMs before. ... -- Aaron Rouse http://www.happyhacker.com/...
3788
Edward A Savage Jr
sonnysavage
Mar 24, 2007 3:55 am
John, I just looked at the source of page. You need to remove this - onchange="objForm.EquipValue.setValue(this);" - from your <select> element. The code I...
3791
John Gillett
jgillett
Mar 26, 2007 2:46 pm
Hi, I did remove that snip when I tried your solution. It was replaced when I was trying some other options. Thanks anyway. John John Gillett Technology...
3803
Fred T. Sanders
sandersfred
Apr 11, 2007 2:07 am
Subject says it all. :) Dan SAVE US!!...
3804
Dan G. Switzer, II
dswitzer2
Apr 11, 2007 2:14 am
Fred, ... I don't see anything that I haven't already cleared up....
3805
Fred T. Sanders
sandersfred
Apr 11, 2007 7:26 am
Looking at the dates I see what you mean, not sure why they all hit me yesterday....
3807
Edward A Savage Jr
sonnysavage
Apr 13, 2007 2:52 pm
I didn't see this question being asked previously. I am using validateAtLeastOne in a conditional situation. I am able to add the requirement through a...
3811
Matt Williams
summitsites
Apr 16, 2007 4:28 pm
Looking for a little help on an error thrown only by IE. The form is part of a YUI tab screen, so the complication is deep. However, it all works in Firefox. ...
3812
iamgimpin00
Apr 17, 2007 7:00 pm
I'm trying to create a depedency on a state drop-down list. If the user selects "Other" then the "Other State" text field is enabled and required as well as...
3815
screeny01
Apr 26, 2007 12:23 am
Ok... yes, I am a newb to this, I just discovered layering and Qform. I have been mulling through Dan's pages and examples trying to figure this on my own...
3816
Dan G. Switzer, II
dswitzer2
Apr 26, 2007 3:16 am
Mike, ... Quite frankly those examples are pretty outdated. They written in the manor they are to show how you can merge separate form on a page. This was...
3817
screeny01
Apr 26, 2007 11:40 am
... the manor ... really ... need to ... just ... fields based ... problem the ... format. ... Helps alot Dan, I assume you hide and show the fields with CSS?...
3818
screeny01
Apr 26, 2007 1:09 pm
I got it all figured out :) Thanks again for your time, Mike...
3819
Dan G. Switzer, II
dswitzer2
Apr 26, 2007 2:08 pm
Mike, ... Glad to hear it! -Dan...
3820
Travis Walters
twalters84@...
Apr 27, 2007 5:53 pm
Greetings, My question is directly related to the following page: https://webdata.amkor.com/includes/qforms/docs/examples/containers.htm I have a similar...
3821
Dean Lawrence
deanmlaw
Apr 28, 2007 9:49 pm
Travis, If I remember correctly, the second parameter tells the function to try and sort the values as they are transfered to the target field. So if you had...
3822
Don Arnett
darnit78
May 31, 2007 11:24 am
I post this just in case it's something obvious that someone knows immediately how to correct. I'm new to qforms but have it set up to do validation on some...
3823
Don Arnett
darnit78
May 31, 2007 11:24 am
First, so far I like qforms very much. Once I get it figured out, it'll save a lot of time writing javascript routines. So, my first question: I have a form...
3824
Edward A Savage Jr
sonnysavage
May 31, 2007 1:42 pm
Have you tried referencing it like this? objForm.itemQuantity3.validateInteger() -or- objForm["itemQuantity3"].validateInteger() Edward "Sonny" Savage ...
3825
Edward A Savage Jr
sonnysavage
May 31, 2007 1:44 pm
I've never seen this error, but I haven't been using FF 1.5 in quite some time either. Is there a specific field that always generates this error? Getting a...