Hello everyone,
I have just committed an improvement for ad_form: now the -export flag behaves like "vars" argument in export_vars proc.
This means in particular that :multiple, :array and :sign flags can be used for exported variables. :array flag is not required if variable in caller scope is an array, as ad_form can find it out on its own, exactly as export_vars does.
To make this possible, a slight change had been required for template::widget::hidden: if both -value and -values flag are passed when creating the widget, -values will have the precedence, rendering a multi-valued widget.
Please don't hesitate in reporting any possible regression.
Thanks to Gustaf for his help on this!
All the best
Antonio