Forum Stats

  • 3,874,254 Users
  • 2,266,711 Discussions


Diplay the value in the textarea based on the radio group value in apex

Niki Dilip
Niki Dilip Member Posts: 17 Blue Ribbon


I have a radio group having 3 values Yes , No , Maybe. Based on these values the pageitem P1(Textarea) gets hidden and displayed. Now I want to populate a text in this textarea based on the values selected in radio group. Say for example, if the value is 'Yes', the P1 textarea must be populated with 'You have chosen yes, Please give instructions for yes ', If the value is 'no' then P1 must be displayed as ' You have selected no....' and so on.

How should i implement it

Best Answer