Re: [fw-general] forms, ini files and decorators

2009-03-24 Thread Ian Spare
ah.. this is slowly beginning to dawn on me now! I seem to have it mostly straight apart from subforms, I can't seem to control subform decorators from the ini file so my subform is getting wrapped in dl-dt- dd etc. On 24 Mar 2009, at 12:14, Ian Spare wrote: I have to say this

Re: [fw-general] forms, ini files and decorators

2009-03-24 Thread Ian Spare
rators.formElements.options.class = "entry" ; Group Decorators form.displayGroupDecorators.decorator = "FormElements" form.displayGroupDecorators.formElements.decorator = "HtmlTag" form.displayGroupDecorators.formElements.options.tag = "tr" form.displayGroupD

[fw-general] forms, ini files and decorators

2009-03-18 Thread Ian Spare
#x27;HtmlTag'), array('tag' => 'div')), ); $deleteButton = $subform[$counter]->getElement('delete'); $deleteButton->setDecorators($buttonDecorators); which works fine but it's horrible :( can anyone enlighten me how to do this in the ini file? Ian Spare Email :ian.sp...@me.com, Website :http://snowslider.net

Re: [fw-general] Forms and config files

2009-03-18 Thread Ian Spare
In answer to my own question, using subforms but with decorators to stop individual HTML forms being generated seems a reasonable solution. On 18 Mar 2009, at 08:10, Ian Spare wrote: I'm struggling a little to get forms to do what I want. I want to present a list of current record

[fw-general] Forms and config files

2009-03-18 Thread Ian Spare
ord becomes a separate form and to submit them all at once I'd need some javascript which isn't ideal. Really I want to build a single form with each row being the elements from the config file, is this possible? Ian Spare Email :ian.sp...@me.com, Website :http://snowslider.net