Hi,

I am working on a custom module and i've a certain requirement in it, i want to display attachment field in the form depending upon a certain category selected only, i.e, if category A is selected from the Category dropdown, then attachment field will be displayed on the form else it will not.

The categories are created using Drupal's Taxonomy functionality of add vocabulary/add terms.

Please suggest me a way to achive this.

Thanks,
Kul.