I am presently working on a form and I would like to show/hide div-form field using check box. In my research I came across;
show/hide input-form field using radio button here: https://codepen.io/chriscoyier/pen/LEGXOK
Please I would like to apply check box instead of radio-buttin to show/hide div-form fields and not input.
Example: I want to create a from filed where an applicant can either upload their cv/resume using the check-box
Upload form script:
<div class="element-file" title="Click here to Upload Resume"><label class="title"></label><div class="item-cont"><label class="large"><div class="button">UPLOAD</div><div class="file_text">NO UPLOAD DETECTED</div><span class="icon-place"></span></label></div></div>
OR
Manual Entry:
<div class="element-input" title="Enter your Full Name as indicated here."><label class="title"><span class="required">Required</span></label><div class="item-cont"><span class="icon-place"></span></div></div>
I want to use check-box to switch in between this two Div-form fields Using the behaviour from this sample: https://codepen.io/chriscoyier/pen/LEGXOK
Thanks in advance for your support.