sugarcrm radio button field dependent on parent_type () field

Hi All,

Can anyone suggest how to make radio type field dependent on parent_type(Related to)(Data Type: (parent_type)) field,

means if parent_type == "Module Name" then make radio type field visible on record view.

I have added formula in radio type field as below:

"greaterThan(strlen(related($related_module,"name")),0)"

It works after saving record first time. I want once user click on parent_type and select then radio field should be appear on record view.

How to achieve this, please suggest? 

I will appreciate your help in advance.

Thanks,

Shreya