[thelist] Phorm and Checkboxes

Hans-Fr=?ISO-8859-1?B?6WTp?=ric Fraser hfraser at videotron.ca
Mon Jan 6 14:46:01 CST 2003


On 1/6/03 3:11 PM, "Anthony Baker" <lists at thinkbigideas.com> wrote:

>
> Am hoping someone will have an answer to this problem
> I'm experiencing.
>
> 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.
>
> 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

you are giving multiple answers to the same question with the same name
try :

 <input type="radio" name="question_01" value="item 1" />item 1
 <input type="radio" name="question_01" value="item 2" />item 2
 <input type="radio" name="question_01" value="item 3" />item 3
 <input type="radio" name="question_01" value="item 4" />item 4
 <input type="radio" name="question_01" value="item 5" />item 5

but that way you can only have one checked!

there is also http://www.phorm.com/support/ that you could check!




More information about the thelist mailing list