[ic] check boxes [was: (no subject) ]

Dan Browning interchange-users@interchange.redhat.com
Tue Aug 21 17:27:00 2001


At 02:33 PM 8/21/2001 -0400, you wrote:
>Hello Interchange users,
>
>We are trying to have a form with a list of items as checkboxes.  For 
>instance if
><input type=checkbox name=c-0001> was checked it would be passed to another
>page, which would then insert this item into a table.  Sometimes there 
>will be
>several items that will need to be inserted at once.
>
>This is the syntax that were playing around with.
><FORM METHOD=POST ACTION="[process]">
><INPUT TYPE=HIDDEN NAME="mv_data_table" VALUE="items">
><INPUT TYPE=HIDDEN NAME="mv_data_function" VALUE="insert">
><INPUT TYPE=HIDDEN NAME="mv_nextpage" VALUE="user_items.html">
><INPUT TYPE=HIDDEN NAME="mv_data_fields" 
>VALUE="sku,category,user,subcategory">
>
>Can some one point us in the right direction?
>
>Thanks
>Joe Bloggs and Company

It wasn't entirely clear regarding what you are asking, but maybe this will 
be of some help:

[set do_some_stuff]
         <!-- check the value of some checkboxes -->
         [value checkbox1] ?
         [if value checkbox1 ...]
                 ...mv_nextpage = ...
         [/if]
[/set]
<INPUT TYPE=HIDDEN NAME="mv_check" VALUE="do_some_stuff">

HAND,

Dan Browning, Cyclone Computer Systems, danpb@mail.com