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
SteveAtGFISteveAtGFI 

Changing from API 16.0 to 23.0+ causes apex:selectRadio to display value on left

I have a form created in our organization we use for customer surveys. We currently use API 16.0, but we're looking to localize and one of the requirements is to use an apex:inputField that takes a localized public parameter from its controller for it's label. Unfortunately, inputfield only supports the label attribute on version 23.0+. Not a big deal, but when I switch to 23.0+ all of my selectRadio buttons display the value of the referenced field and then center the page. 

 

Is there a way to hide this so they don't display this field on the left? It's rather annoying.

SteveAtGFISteveAtGFI

Found the answer, just had to check the documentation a bit closer. If you have this problem, just set label to a blank string:

 

label=""

 

This causes it not to show.