CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 mark radio button based on textbox value

Print topic Send  topic

Author Message
stu32

Posts: 3
Posted: 02/09/2005, 12:12 PM

Hi,
I have two radio(yes and no) buttons (HTML) and 1 textbox (FORM) all in a record builder. The textbox is bound to an integer column in a database.

What I want to do is check if the value in the textbox is > 0 then have the radio button set to Yes else set to No.

I'm completely confused on how to do this with codecharge.

Thanks

Stu
View profile  Send private message
mrachow


Posts: 509
Posted: 02/10/2005, 12:09 AM

For it looks like a CheckBox bound directly to the integer column would be a more generic solution.
_________________
Best regards,
Michael
View profile  Send private message
stu32

Posts: 3
Posted: 02/10/2005, 8:29 AM

Ok that would require me to make the two radio buttons using FORM radio buttons.

Ive tried and search the forum, i havent found an answer for the following problem..
Lets say i have two radio buttons - Yes and No. How do i create them so that they have the same "name" so that i can not "check" both radio buttons at once? Only one will be checked at all times.

If the form radio button is not bound to any field to the database, will it not show up?

thanks,
stu
View profile  Send private message
stu32

Posts: 3
Posted: 02/10/2005, 8:30 AM

Sorry, maybe I should mention i'm using ASP
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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