[thelist] Phorm and Checkboxes

Anthony Baker lists at thinkbigideas.com
Mon Jan 6 14:34:17 CST 2003


You're right!

I am a knucklehead. The name has to be the same only
in radio buttons, allowing one option.

Thanks.

/Anthony


| -----Original Message-----
| From: thelist-admin at lists.evolt.org
| [mailto:thelist-admin at lists.evolt.org] On Behalf Of Paul Bennett
| Sent: Monday, January 06, 2003 12:30 PM
| To: thelist at lists.evolt.org
| Subject: Re: [thelist] Phorm and Checkboxes
|
|
| >
| >
| >Am using Phorm 3.0 currently, and have a question that
| >uses multiple checkboxes. Unfortunately, Phorm is only
| >reading the last checkbox when multiple items are
| >checked off.
| >
| >
| my guess would be that the checkboxes all have the same name,
| thus when posted, the "question_01" field will only hold the
| last value (the other values will in effect be overwritten).
| If you want to get the checked value of each of these boxes
| they will have to have different names.
|
| >The code I'm using is:
| >
| > <input type="checkbox" name="question_01" value="item 1" />item 1
| > <input type="checkbox" name="question_01" value="item 2" />item 2
| > <input type="checkbox" name="question_01" value="item 3" />item 3
| > <input type="checkbox" name="question_01" value="item 4" />item 4
| > <input type="checkbox" name="question_01" value="item 5" />item 5
| >
| >
| >
|
| --
| Paul Bennett
| Internet Developer
| Teltest Electronic Design
| --------------------------
| Phone : 64 4 237 0767
| Web : http://www.teltest.com
| Wap : http://wap.teltest.com
| Email : paul at teltest.com
| --------------------------
|
|
|
| --
| * * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester
and archives of thelist go to: http://lists.evolt.org
Workers of the Web, evolt !




More information about the thelist mailing list