View Full Version : Form
WPiersol
10-11-2005, 04:07 AM
I am wanting to create a form that has fields that are "gray" or not available until a user either selects something from a dropdown or checks a checkbox. Any ideas?
WPiersol
10-11-2005, 04:23 AM
Nevermind. Got it.
RedBravo
10-12-2005, 09:45 AM
I've been trying to find info about this on the net, but so far no luck - can you either post the code or a site url if you found one.
Thanks
Bullschmidt
10-13-2005, 04:38 AM
I'll bet it has something to do with some JavaScript to set the input tag's readonly attribute.
And of course if one posted the form back to itself onchange from the blank field that needs a value then one could have ASP code to not include the readonly attribute at all.
Classic ASP Design Tips - Post Back Page
http://www.bullschmidt.com/devtip-postbackpage.asp
(Just my $0.02 worth anyways...)
vBulletin® v3.8.2, Copyright ©2000-2010, Jelsoft Enterprises Ltd.