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
shimy josshimy jos 

how to convert a text field value to either Text,radio button or checkbox when one of these is selected from the picklist?

My object is Question__c and Picklist field(Type__c) having values"Text","Radio Button", "Checkbox". If user choose radio button from the list then the value in the textfield(Question__c) should display as radio button and if checkbox ,display as checkbox. Please help me to find solution for this as i am new to salesforce.
PriyaPriya (Salesforce Developers) 

Hey Shimy,

This is not possible in the salesforce. Alternatively, you can do one thing .. You can create multiple fields and display based on the selection.

Regards,

Priya Ranjanb

shimy josshimy jos
HI Priya,
I don't understand ,can u please explain what do you mean by multiple fields? Can you show an example please?