On 4/6/06, Dave Howorth <[EMAIL PROTECTED]> wrote:

>
> There are a couple of stages to this, I think. First you will need to
> add the checkboxes to the page. Then you will need to write a new action
> to process the checkboxes.
>

For javascript to check all or clear all if you need that,  i just 
cut and pasted the code here this week in an app.

http://www.smartwebby.com/DHTML/check_clear_all.asp

 Works great. Then  you get an array of values in your
params->{checkbox_name}. Those would be your beer ids more than
likely. I have not written the checkbox code in AsForm yet but when i
do or someone else does you could just say:
$beerobj->to_field(beer_id => checkbox);



--
pjs


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Maypole-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/maypole-users

Reply via email to