You need to sign in to do that
Don't have an account?
Leafen Sandy
Text field response upon selecting the corresponding radio button in a table row
Hii.
Using apex:repeat tag i have created table to display two radio buttons and a text field which is dependent on the selection of one of these radio buttons.Using Command link i am adding new row. Only the last row text field is responding for radio button selection but not for the previous rows.I want each row text field to respond to its corresponding radio button. Thank you.....
Using apex:repeat tag i have created table to display two radio buttons and a text field which is dependent on the selection of one of these radio buttons.Using Command link i am adding new row. Only the last row text field is responding for radio button selection but not for the previous rows.I want each row text field to respond to its corresponding radio button. Thank you.....
I think what you want is to group radio buttons per table rows, so that you can select different radio values at once and pass the same to the controller.
I think the following link may help you out.
http://salesforce.stackexchange.com/questions/57990/display-radio-buttons-group-in-visualforce-page
http://salesforce.stackexchange.com/questions/45835/how-to-select-one-radio-button-from-each-radio-group-in-visualforce-page
Regards,
Alsinan
In a single row i have two radio buttons, for example button1 and button2 and along with these two radio buttons i have one text field. When i select button1 the text field should be rerendered and made as outputText to display some value. when button2 is selected the text field should be rerendered and made as inputField to take input from user. It works fine if i have only single row, but i created a commandlink to add more rows.It works fine with last created row but not working for the previuos rows. The requirement is, the user can modify any row at any time. Any help is appreciated....