At 18:36 29/08/99 , Robin Becker wrote:
it would be really useful to generalise <dtml-in var> to allow for the case when the variable is a singleton. I know I can write testing code for this, but it's a real pain to find that multiple selections change type when only one item is selected.
If you add :list to the form variable, it will always be a list, wether or not it is a singleton: <SELECT NAME="items:list" MULTIPLE SIZE=5> ....</SELECT> and in the receiving DTML: <dtml-in items> </dtml-in> -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------