CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Radio Button Question.

Print topic Send  topic

Author Message
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.
View profile  Send private message
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
View profile  Send private message
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
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.