views:

48

answers:

1

I would like to know if it was possible to make certain fields invisible until the question linked to them is selected to Yes. Then other fields pop up to go into more detail. I'm not sure if CRM can do this, but if so I would like to know how.

+1  A: 

On your onLoad function put the following

crmForm.all.field.style.display = 'none';
crmForm.all.field_c.style.display = 'none';

Then on the onChange event of the field you're monitoring put this to show the field:

crmForm.all.field.style.display = 'inline';
crmForm.all.field_c.style.display = 'inline';
Focus