Forum OpenACS Development: Re: Heads-up: New Workflow Package

Posted by Dan Wickstrom on
I'm looking at something right now that has comments in ad_form, and it seems to work fine. How is it a problem to use comments in ad_form?
Posted by Tilmann Singer on
Dan, the only way I can think of is to create the form definition list dynamically, like this:
set form_def {
        {value $index_p}}

# here is a comment on an element
lappend form_def {

ad_form -form $form_def
Which seems a bit awkward to me, but propably that's just matter of taste. How does the code you're looking at do that?