function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Lakshmi Kalyan KoduriLakshmi Kalyan Koduri 

Picklist field is visible only if radio button option "yes" is checked

Shravan Kumar 71Shravan Kumar 71
Hi Lakshmi,

Your issue is not clear, could you please elobrate. 

Thanks,
Shravan
Lakshmi Kalyan KoduriLakshmi Kalyan Koduri
Hi Shravan,

There is a radio button called non-nri. If i select "yes" value on radio button it should display a picklist field with values passport and greencard. If i selected "no" value on radio button then picklist field should be disabled or hidden.

Thanks,
Lakshmi.
 
Lakshmi Kalyan KoduriLakshmi Kalyan Koduri
Hi Shravan,

Any further help.

Thanks,
Lakshmi.
Shravan Kumar 71Shravan Kumar 71
Hello Lakshmi,

You got two options :

1) If you want to go ahead with the Radio button then you need to write custom code to meet your requirenment. 
2) Or the best alternative is to create NON-NRI as Controlling picklist field and then use the dependent picklist option to show the related value. (https://help.salesforce.com/articleView?id=fields_defining_field_dependencies.htm&type=5)

Thanks,
Shravan
Shravan Kumar 71Shravan Kumar 71
Refer to this link if you want to write VF page : https://salesforce.stackexchange.com/questions/67615/radio-within-a-radio-button