# Show/Hide Form Fields

**URL:** <https://forum.kirupa.com/t/show-hide-form-fields/273147>\
**Category:** web dev\
**Created:** [October 12, 2008, 5:26am UTC](https://forum.kirupa.com/t/show-hide-form-fields/273147 "2008-10-12T05:26:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigvic](https://avatars.discourse-cdn.com/v4/letter/b/51bf81/32.png) [@bigvic](https://forum.kirupa.com/u/bigvic)\
**Post date:** [October 12, 2008, 5:26am UTC](https://forum.kirupa.com/t/show-hide-form-fields/273147/1 "2008-10-12T05:26:03Z")

</div>

Im looking at creating a form for a user to fill out which is dependant on which checkbox is clicked.

For example: I have a contact form with 2 checkboxes one saying web design and the other graphic design. I would like a specific set of form fields to appear underneath for the user to fill out when web design is checked and a completely different set of fields to appear underneath if graphic design is checked.

Im looking for a good tutorial on this but I don’t know the technical term to search what Im looking for. I have been looking at show/hide javascript tutorials, ajax tutorials etc… but have had no luck.

Any help you can provide would be extremely helpful.
