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
|
|
|
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 |
|
|
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
|
|
|
stu32
Posts: 3
|
Posted: 02/10/2005, 8:30 AM |
|
Sorry, maybe I should mention i'm using ASP
|
|
|
|