Hi all,

Back again. Hope I'm not a pest here but I'm having a really hard time figuring out how this is done.

I create a form from a config file but the created form is already decorated. If I try to change the decorators after that chunks of the form disappear, if not the whole form itself. I can't decorate a non-existent form before it is created so the decorators must be specified within the form's config.ini file. That's where I'm falling down.

I've spent days on this. I've "grep"ed the manual for \.decorators\. but only find TOC links so there isn't a single example in there. I am totally lost, feel like an incompetent idiot, and desperately need help.

A little insight and I might get my sea legs back :)

Given this simple config.ini how do I specify the decorators? I've defined validators similarly, and so imagine that filters and decorators can be specified this way, too.

[store]
id = "store"
options.decorators...  ???

elements.name.type = "text"
elements.name.options.validators.strlen.validator = "StringLength"
elements.name.options.validators.strlen.options.max = 25

elements.name.options.decorators... ???


Many, many thanks in advance,
Mike Wright

Reply via email to