pcdoctor
Posts: 15
|
| Posted: 09/04/2008, 2:16 PM |
|
Hey all, still playing and working with this bad boy. Some cool suff, anyway:
I have a situation whereby I have records that contain two columns (cola, colb). I need to be able to display them on screen as radio buttons in pairs. For example:
rec1: cola - colb (as radio buttons with labels from the data - say cherry - apple),
rec2: cola - colb (soda - coffee).
And so on.
I need radio buttons because if the user selects re1:cola, then rec1:colb should be deselected.
I can't seem to get even close.
I hope this isn't beyond the capabilities, of the app I mean - clearly it is above mine at the moment.
Any help would be appreciated.
Thanks.
|
 |
 |
Oper
Posts: 1195
|
| Posted: 09/07/2008, 8:17 AM |
|
its posible
Java: onclick event look around for this 2 functions:
document.getElementById('RadioButtonName").disabled = true;
document.getElementById('RadioButtonName").checked = false;
etc.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
 |
 |
pcdoctor
Posts: 15
|
| Posted: 09/23/2008, 2:45 PM |
|
Thanks Oper. I see what you mean.
I guess I have another question 
How do I display the table columns as Radio Buttons, with the Radio Buttons Text Property containing the data in the table? For example, RadioButton1 = "apple", RadioButton2 = "orange" which is an example of what the data in the table would be.
I changed the column type to Radio Button, but when I view the page after publishing, nothing is displayed in that particular column, i'e. it is blank. I've checked the column constraints and it points to the correct table data column.
Hope this is clear?
Thank.s
|
 |
 |
|