Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic Form Content Dilemma

Status
Not open for further replies.

BPHaines

Programmer
Mar 26, 2003
2
US
I'm relatively new to VBscripting but I've been assigned a large project which involves rebuilding a research application from the ground up (the former web app was written by someone who is no longer here, and who didn't bother to comment their code, all 61 pages of 8 point Arial font that it is!) One part of the request form has checkboxes with 5 options, the original form is written so that when you check one of the boxes, additional form fields appear in the space between it and the next box. When you uncheck it, they disappear. Is there any way I can rewrite this that doesn't involve ripping all my hair out!? Any help would be much appreciated, thanks. [sadeyes]

 
Since this sounds like ASP, it might be a job for the ASP Forum.

Then again the part you mention is client-side. Sure it isn't Javascript?

And what is it you want to "rewrite" and in what way?
 
I'm positive its VBscript. The original code is VBscript. There are 5 check boxes, will call them CheckA thru CheckE. When CheckA is selected, Subfield1 and Subfield2 show up beneath it. When it is unchecked, they go away. If CheckB is checked, Subfields 3-5 show up under that one, if unchecked, they go away, etc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top