I have these two checkboxes:
<label for="cell">3. Do you currently have a cell phone? (Y/N)</label>
<input type="checkbox" name="cell" name="cell" id="cell" data-on="Yes" data-off="No" />
<label for="blackBerry">4.If YES, is the cell phone a BlackBerry? (Y/N)</label>
<input type="checkbox" name="blackBerry" name="blackBerry" id= "blackBerry" data-on="Yes" data-off="No" />
How can I get the second question to display on the page, ONLY when the first one is selected as Yes?
Thanks in advance.
You can do this using javascript
Javascript
HTML
Check Fiddle
It is still more simple using jQuery..
jQuery Fiddle