[thelist] Phorm and Checkboxes

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


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

>
> Hmm...
>
> New question then: How is a name for this then assigned -- Phorm
> uses the name value to write the value to files.
>
> Anyone know in forms how I can assign a name to a set of values,
> without prohibiting multiple values from being selected and
> written?


since phorm is in php you could probably tweak it to take arrays!

you create them like so add [] at the end of your name!


 <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

that way the value of




More information about the thelist mailing list