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
jotr408jotr408 

Custom Field: Radio Button?

Hi,


Is there any way to create radio buttons?  There is currently an option for checkboxes so I was wondering if there was a way and how to go about doing this?

 

Thanks

TatyanaTatyana

I think to do this you must use the Visual Force.

Ritesh AswaneyRitesh Aswaney

you wouldn't be able to create radio buttons using vanilla salesforce config - visualforce will indeed be needed.

 

<apex:selectRadio value="{!COLLECTION}">

               <apex:selectOption itemValue="{!...}" itemLabel="{!...}"/>

</apex:selectRadio>

jotr408jotr408

If I built my custom object & fields using the vanilla salesforce, would I still be able to use that code below to insert?  If so, how do I get there?