I want to have a checkbox, that when uncheck greys out some form textboxes, and check, makes them edible, (in order to make relevant questions required to be awnsered.)
An example of this would be
A check box, Are you retired?, if unchecked the form that asks howlong would not have any relevance so it's greyed out, if checked the form has relavance so it becomes edible content.
If possible I would like to do this directly in html, but I don't think that will be possible. I'm not quite sure how to go about it, I'm thinking that I can have the php check if the box is checked or not, however, I'm not sure if php is "live" code, Or in other words, The page would have to reparse???
Is there a way to do this in php?