[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: help with check box and radio box
From: |
Quintin Connell |
Subject: |
Re: help with check box and radio box |
Date: |
Wed, 06 Feb 2002 19:48:12 +0200 (SAST) |
User-agent: |
IMP/PHP IMAP webmail program 2.2.6 |
David,
If you try the following snippet, it should work
cout << form().set("action", "http://x.y.z/cgi-bin/etc").set("method", "POST")
<< endl;
cout << input().set("TYPE", "checkbox").set("VALUE", "on").set("NAME",
"restart_bios_config");
cout << form() << endl;
If you want more info about why your code won't work let me know.
Quintin
Quoting David Garrison <address@hidden>:
> Hi,
> Just starting with cgicc and can't figure out how to create a checkbox
> or radio box. Couldn't find any examples in the docs or on the web.
> Tried the following but get compile errors.
>
> input cbox("");
> cbox.set ("TYPE", "checkbox");
> cbox.set ("VALUE", "on");
> cbox.set ("NAME", "restart_bios_config");
>
> I get this error:
> request for member `set' in `cbox', which is of non-aggregate type
> `input () ()'
>
> Thanks,
> David address@hidden
>
> _______________________________________________
> help-cgicc mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cgicc
>
>