Hi joe,
I tried that suggestion, but it just kept the textbox disabled whether or not the checkbox was clicked or not. Since this is in an XSLT doc, this is how I applied your suggestion:
<input type="checkbox" name="cbquestion1" id="cbquestion1" onclick="javascript
:document.form1.txtanswer1.disa bled=false!javascript
:document.form1.txtanswer1.di sabled=false">What is the name of your favorite pet?</input>
<input type="text" id="txtanswer1" name="txtanswer1" value="" size="20" maxlength="20" disabled="true" />
...and I also tried changing the 2nd
JS instance to this:
onclick="javascript
:document.form1.txtanswer1.disa bled=false!javascript
:document.form1.txtanswer1.di sabled=true">
and of course I tried using the exact code that you included, but it still doesn't work. Any other suggestions?
KWilliams