arrays in FORM

Albert Ting altlst at sonic.net
Fri Apr 1 20:04:16 UTC 2005


If I have something like below in a template:

     <input type=checkbox name=choices value="1">1
     <input type=checkbox name=choices value="2">2
     <input type=checkbox name=choices value="3">3
     <input type=checkbox name=choices value="4">4

Is there a way to get the data back as an array, something like:

    @{$::FORM{'choices'}}

Best I can tell, FORM only holds strings.

Thanks,
Albert



More information about the developers mailing list