Re: [symfony-users] readonly related value in form

2010-09-08 Thread Marco Rocci
I solved this. Maybe the solution can be of use to someone else. Il 06/09/2010 9.27, Marco Rocci ha scritto: Symfony 1.4 Doctrine admin backend application With this simplified schema: Product: columns: code: { type: string(10) } name: { type: string(100) } Deliver

Re: [symfony-users] readonly related value in form

2010-09-06 Thread Marco Rocci
Il 07/09/2010 1.31, Michael Hodges ha scritto: I'm also new to SF and struggled with this. My solution was a combination of javascript and php code. Hopefully the example code fragments are helpful for you. Basically, my javascript updates the readonly field rather than the user. - Michael

Re: [symfony-users] readonly related value in form

2010-09-06 Thread Michael Hodges
I'm also new to SF and struggled with this. My solution was a combination of javascript and php code. Hopefully the example code fragments are helpful for you. Basically, my javascript updates the readonly field rather than the user. - Michael [_form.php] echo $form['receipt_amount']->rende

[symfony-users] readonly related value in form

2010-09-06 Thread Marco Rocci
Symfony 1.4 Doctrine admin backend application With this simplified schema: Product: columns: code: { type: string(10) } name: { type: string(100) } DeliveryRow: columns: product_id: { type: integer , notnull: true } qty:{ type: decimal(8,2) } rel