You need to sign in to do that
Don't have an account?
radio button in a table
hello
i want to try somthing like this......
Add a field ‘Primary Contact’ on Account, which would be a lookup to Contact object. Add a button on Account Detail page labeled ‘Select Primary Contact’. On click of this button, a page should come up with list of all contacts associated with this Account in a table format. The left most column of this table would be a radio button. User should be able to select one contact and submit this page. On submission, the selected contact would become Primary Contact for this account and user would be redirected back to Account detail page.
here i face a problem to create a table with selectradio button
Hi ,
What is the issue with that , you can use the HTML input component for that as below:-
<input type="radio" name="color" id="{con.id}" value="{con.id}">
the above code will assign dynamic ids to the radio buttons when used within any iterations.
Hope this helps...
thanks for reply
but i want use <apex:selectradio> button here is my code using <input type="radio"> and this is working
page
Did you find any solution for the <apex:selectRadio> tag, I have similar kind of scenario.
If i use selectRadio tag, the radio button are moving to the next row referred in the figure.
Here is my code.
Please let me know if you have any solution or any idea.
Thanks,
pRAMODH.