Show/hide form fields based on a selection from a dropdown menu

/ Published in: jQuery
Save to your folder(s)

Show a form field if 1 value from a dropdown is chosen, hide is the other is chosen. Can be extended to include more fields and values. Could get messy if you start nesting more than 2 'if else' but it gets the job done.


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.