1

I can't find a way to set the checked value to a radio button to true... Is there a way, that one radio button to be always checked when the XPage is loaded?

Thanks,

Florin

Florin Pop
  • 5,105
  • 3
  • 25
  • 58

1 Answers1

3

For a Radio Button control, there is a selectedValue and defaultSelected properties. As long as selectedValue is set - it doesn't matter what it's set to - then if defaultSelected="true" it will be always selected when the XPage is loaded.

For a Radio Button group, you just need to set the defaultValue property to one of the values defined on the Values tab.

Paul Stephen Withers
  • 15,699
  • 1
  • 15
  • 33