multi-select form array handling

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

multi-select form array handling

David Ringsmuth-3
Active4D 6.1+

The documentation reads:

When a multiple-choice list is placed on a form and the user selects more
than one item
in the list, one form variable for each selected item is sent as part of the
posted form. In
such cases, Active4D creates a text array to hold the selected items, the
key of which is
the choice list's form name.

The key is found by name of the multi-select choice list, but how do we
handle the key to extract all of the items? What is the syntax?

Thanks,
David Ringsmuth

_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/
Reply | Threaded
Open this post in threaded view
|

Re: multi-select form array handling

aparajita
Administrator
> The key is found by name of the multi-select choice list, but how do we
> handle the key to extract all of the items? What is the syntax?

See "Referencing Collection Values" on page 99.

Regards,

  Aparajita

_______________________________________________
Active4D-dev mailing list
[hidden email]
http://list.aparajitaworld.com/listinfo/active4d-dev
Archives: http://active4d-nabble.aparajitaworld.com/