I just solved this issue by using the observe_form() helper
http://www.symfony-project.org/forum/index.php/m/6176/
On 2007/11/22, at 19:34, Jorge Laranjo wrote:
> I've got 3 fields select_tag
> What I want is to be able to update using AJAX one fields when this
> values change (of the 3 other fields). Basically I want to sum all
> the 3 fields and update the 4th field.
>
> My AJAX request is like this
>
> <?php echo observe_field('qtdM', array(
> 'update' => 'priceM',
> 'url' => 'produto/price',
> 'with' => "'qtd=' + value",
> ))?>
>
> So, how to update several fields at once and how to pass several
> values to the action, at once? Thanks.
>
> --
> Atentamente,
> Jorge Laranjo
>
> [EMAIL PROTECTED]
> http://jorge.laranjo.eu
>
--
Atentamente,
Jorge Laranjo
[EMAIL PROTECTED]
http://jorge.laranjo.eu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---