Forum OpenACS Development: adding fields to form elements

Collapse
Posted by Kolja Lehmann on
Is it possible to add custom fields to elements in the form manager/ad_form, that can be interpreted in the styles template? If I add
ad_form ... -form {
{foo:text(text) {label "bar"} {myoption "special"}}
}

and in the style termplate I put
@elements.myoption@
it only gives me a "1" and nothing more. For example I would like to add an option for "presentation_alignment" or "required_p" which would be interpreted by the style file.