Implementing Show/Hide of dialog fields on selection from dropdown in CQ5
<p>I have an implementation where I have to select from a drop-down (Image or video). On the basis of this selection, Image path field and Alt Text should be displayed in dialog on the selection of Image (other fields should remain hidden)and Video ID and Alt Text should be displayed on selection of Video (other fields should remain hidden)from the drop-down. This entire thing has to be implemented in multi-field. Each multi-field will have drop-down along with fields.</p>

<p>Could anyone help me with this?</p>