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

Collapse
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 {
    item_id:key
    {index_p:integer(hidden)
        {value $index_p}}
}

# here is a comment on an element
lappend form_def {
     name:text(hidden)
}

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?