I have a form that has "Required" fields and "Optional" fields. Next to the "Optional" title, I want a button/link that shows or hides the fields when clicked. I don't really want to use Javascript (even though I already know how to do that!) because of how people are disabling Javascript and everything nowadays. So can this be done using only CSS, and if so, How?
sample code:
sample code:
Code:
<table border="0">
<tr><td>Required Information</td></tr>
<tr><td>the required fields</td></tr>
...
<tr><td>Optional Information <a href="#">show/hide</a></td></tr>
<tr><td>hidden stuff</td></tr>
...
</table>