[PHPLIB] ooh_forms multiple option From: Trevor Cordes (tcordes <email protected>)
Date: 01/30/00

I can't figure out how to use the ooh_form multiple feature for
checkboxes. I've read the (extremely vague) docs on this feature and
searched for references on the mailing lists to no avail.

I want to put a few dozen checkboxes (distinct entities, NOT radio
buttons) on a form. I want to use a loop to generate them and a loop
to interpret the results after the POST.

Am I correct in assuming that this is what the multiple feature is for?
How come the docs say I can't use the checked option with multiple? I
would definitely have to be able to pre-check some of the boxes.

Up until now I've been using evals and such and calling my checkboxes
box1, box2, box3, etc in my forms then after the POST converting that
into box[1], box[2], etc after ooh_forms is done with them.

Can someone give me a code example or let me know that this isn't
possible?

Thanks!
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.