Hello,

I have a form field that appears when a checkbox is clicked.
The problem is: if JavaScript is disabled, the field does not appear.

Does anyone have a simple script or suggestion on:

1) if JavaScript is disabled, have the form field always showing

2) if JavaScript is enabled, have the form field disappear, and only appear when a checkbox beside it is "on" or checked.

I think this will be very useful to keep things tidy.

P.S. what is the proper, standards compliant way to have a checkbox selected?
1) <input type="checkbox" checked="checked" >, or
2) <input type="checkbox" CHECKED>