Disable form field based on select box

2001-12-20 Thread Paul Ihrig
hello all! i have a select box called select name=Contract_Type i would like to Disable a text field called input type=text name=Contract_Amount value=cfoutput#DollarFormat(RS_Update_PG2.Contract_Amount)#/cfoutput if the selecton in the select box IS option value=Open Hourly but leave the text

RE: Disable form field based on select box

2001-12-20 Thread Paul Ihrig
form field based on select box hello all! i have a select box called select name=Contract_Type i would like to Disable a text field called input type=text name=Contract_Amount value=cfoutput#DollarFormat(RS_Update_PG2.Contract_Amount)#/cfoutput if the selecton in the select box IS option value=Open

RE: Disable form field based on select box

2001-12-20 Thread Bryan Love
[mailto:[EMAIL PROTECTED]] Sent: Thursday, December 20, 2001 10:27 AM To: CF-Talk Subject: Disable form field based on select box hello all! i have a select box called select name=Contract_Type i would like to Disable a text field called input type=text name=Contract_Amount value=cfoutput

RE: Disable form field based on select box

2001-12-20 Thread Guy McDowell
[EMAIL PROTECTED] Subject: RE: Disable form field based on select box Date: Thu, 20 Dec 2001 10:39:32 -0800 You'll need this JS function at the top of your page... function txtDisable( theForm ){ cBox = theForm.Contract_Type; if( cBox.options[cBox.selectedIndex].value == Open Hourly

Re: Disable form field based on select box

2001-12-20 Thread BILLY CRAVENS
] Sent: Thursday, December 20, 2001 12:26 PM Subject: Disable form field based on select box hello all! i have a select box called select name=Contract_Type i would like to Disable a text field called input type=text name=Contract_Amount value=cfoutput#DollarFormat(RS_Update_PG2

Re: Disable form field based on select box

2001-12-20 Thread Sam Farmer
-Talk [EMAIL PROTECTED] Sent: Thursday, December 20, 2001 12:26 PM Subject: Disable form field based on select box hello all! i have a select box called select name=Contract_Type i would like to Disable a text field called input type=text name=Contract_Amount value=cfoutput#DollarFormat