View Single Post
  #1 (permalink)  
Old May 6th, 2005, 11:24 AM
Ron Howerton Ron Howerton is offline
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Disable text box?

I am unable to find a VBScript example of how to disable an HTML form field. Below is is a line of code I've tried to translate from JavaScript. It doesn't seem to generate any errors but neither does it disable the radio buttons associated with the field name. What is wrong with it?

frmSurvey.fldAnswer5.Disabled=false

fldAnswer5 is the NAME attribute on two radio buttons. Neither button is disabled when this script is executed.
Reply With Quote