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
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
[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
[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
]
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
-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
6 matches
Mail list logo