solodev/hide-show-fields-form
Show/hide form fields based on a select
What
Demo snippet (Bootstrap + jQuery) that reveals extra form fields only when the user picks a certain option.
How to use
Copy the HTML and jQuery from the README: listen for change on the select and toggle the hidden field group. Demo on JSFiddle.
Reach for it when
Conditional fields in a simple lead form.