You need to sign in to do that
Don't have an account?
Neema Gudur 8
Radio button group
I want to group a a bunch of input fields under one radio button similar to ASP:Radiobutton.
Please see the below screen shot.
The forst radio button selected has "city" and "state" grouped togetrher.
Is it possible to do this usng the selectRadio component?
Please see the below screen shot.
The forst radio button selected has "city" and "state" grouped togetrher.
Is it possible to do this usng the selectRadio component?
You can use some JavaScript and HTML Input tag to work around this. This is extract from my code. So what this does is have an inputHidden in your code and set the value in this field in JavaScript onclick event. Below is just a sample code
Please mark this as the best answer if this helps
All Answers
Instead, why not create a separate tab for city, lat and long, and zip code? Another option is to use a "twisty" (similar to a collapsible page block section).
I know as a user of this system it would be frustrating to click a radio button, then click into a field to enter the location information.
Just some food for thought.
You can use some JavaScript and HTML Input tag to work around this. This is extract from my code. So what this does is have an inputHidden in your code and set the value in this field in JavaScript onclick event. Below is just a sample code
Please mark this as the best answer if this helps
Hi there. I am facing the problem with radio. i need to replace the check boxes with radio buttons. i need to use javascript so that radio button should come one by one in one row ( as <apex:selectRadio> is showing all the option in one row only). can you help me out on this???
The above code is not working..