A few more questions...
Why do the element flags multiple, to_sql, to_html, optional, from_sql have to be in the element's name intead of with other ad_form element flags (e.g. label, value, etc.) ?
If I declare: {foo:text(text) {label "Foo"} {optional}} it won't be optional, for example. Only if I do {foo:text(text),optional}.
This looks like inconsistent behavior to me, hence confusing. Of course, I may be missing something fundamental. Right now I don't understand _why_ ad_form has this sintax, so I don't really know if it's broken (in the consistent behavior sense).
But if it is it appears to be an easy fix (and I'm volunteering to do it). We'd have to leave the current behavior valid for at least another release to give time for others to change their code.
Thanks,
-Roberto