CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Simple (relatively) question about radiobuttons

Print topic Send  topic

Author Message
gpdeering

Posts: 57
Posted: 12/15/2005, 2:58 PM

I am having a confusing time trying to implement radiobuttons on my "maint" page.

I initially set up a particular field, "RunType", as a textbox. But now I want to control the input to "P" or "T". So, I changed the textbox to a radiobutton, but realized I had to manually add another one. Now my code looks like:

<tr class="Controls">
<th>Run Type </th>

<td>
<!-- BEGIN RadioButton RunType_Production --><input type="radio" value="P" name="{RunType}">Production<!-- END RadioButton RunType_Production --> 
<!-- BEGIN RadioButton RunType_Test --><input type="radio" checked value="T" name="{RunType}">Test<!-- END RadioButton RunType_Test --></td>
</tr>

The "Preview" looks and acts as expected, but both radio buttons and their captions have disappeared in the "Live" page.

I'm almost sure it's something simple, but what am I missing?


Thanks,

gpdeering
View profile  Send private message
DonB
Posted: 12/15/2005, 6:24 PM

Is the data type set to Integer (the default) rather than Text?

--
DonB

http://www.gotodon.com/ccbth


"gpdeering" <gpdeering@forum.codecharge> wrote in message
news:243a1f52a99777@news.codecharge.com...
> I am having a confusing time trying to implement radiobuttons on my
"maint"
> page.
>
> I initially set up a particular field, "RunType", as a textbox. But now I
want
> to control the input to "P" or "T". So, I changed the textbox to a
radiobutton,
> but realized I had to manually add another one. Now my code looks like:
>
> <tr class="Controls">
> <th>Run Type </th>
>
> <td>
> <!-- BEGIN RadioButton RunType_Production --><input
type="radio"
> value="P" name="{RunType}">Production<!-- END RadioButton
RunType_Production
> --> 
> <!-- BEGIN RadioButton RunType_Test --><input type="radio"
> checked value="T" name="{RunType}">Test<!-- END RadioButton RunType_Test
> --></td>
> </tr>
>
> The "Preview" looks and acts as expected, but both radio buttons and their
> captions have disappeared in the "Live" page.
>
> I'm almost sure it's something simple, but what am I missing?
>
>
> Thanks,
>
> gpdeering
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

gpdeering

Posts: 57
Posted: 12/16/2005, 5:47 AM

Never mind. I'm an idiot. Data type was not the issue. My ignorance and stupidity was.

I do not call myself a web developer (just a developer wanna-be).

When I initially saw just one radio button in the design environment, I didn't realize that all I had to do was simply populate the Data List property and CodeCharge Studio would take care of the rest (adding sufficiently more radio buttons at runtime). I thought that I had to manually more radio buttons from the form panel and set them up similar to the first one. Only, the first few times I tried this, I hadn't relied on the the properties panel to setup of the data list. I went straight to the HTML code.

This whole issue was simply a matter of my understanding how CodeCharge Studio works. Just beautiful!

Thanks for your help and for implicitly reminding me of my shortcomings! :-)

gpdeering
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.