Action based on Lookup field value

Action based on Lookup field value

Hi,

I have form with a lookup field. Based on the item i select in Lookup value, i want to show/hide fields in that form.

Ex: if i select lookup value1, then ct_field should be visible. If not it is hidden. 

Your help is appreciated.