Possible to have form fields presence on form be conditional on other field's value?

Possible to have form fields presence on form be conditional on other field's value?

I have a contact type field.
For some contact types I require another field containing additional data specific to that type.
The additional data would only be applicable to that single contact type.
What is the best way to accomplish this?