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
rators.formElements.options.class = "entry"
; Group Decorators
form.displayGroupDecorators.decorator = "FormElements"
form.displayGroupDecorators.formElements.decorator = "HtmlTag"
form.displayGroupDecorators.formElements.options.tag = "tr"
form.displayGroupD
#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
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
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