I'm working with a form where I have two things going on:
1). A radio button which toggles the visibility of a section. This works with a JS file with the following code:
Then in my code I supply my <tr> with "hidetutored" for the section to initially hide. This works fine when applying onclicks to the radio buttons.
2). Several checkboxes that when a particular one is clicked, shows another text field. This works with the following CSS & JS:
Then my checkbox:
Code HTML4Strict:<input name="education" type="checkbox" id="education" value="AA" onClick="toggle(this, 'aa')">
With an appropriate div to surround my hidden content.
My question is this: In my case, when the extra fields show, they are required. The problem is that with JS disabled, these fields do not show. Thus the form will never work properly in this case and will not be allowed to submit. Does anyone see in my code where I can make these fields show when JS is disabled?
Thanks for any input,