Hello,

I have a form definition

$this->setWidgets(array(
      'razonsocial'   => new sfWidgetFormInputText(),
      'nombre'        => new sfWidgetFormInputText(),
      'direccion'     => new sfWidgetFormInputText(),
      'provincia_id'  => new sfWidgetFormDoctrineChoice(array('model'
=> 'Provincia', 'add_empty' => 'Seleccione')),
      'ciudad_id'     => new sfWidgetFormDoctrineChoice(array('model'
=> 'Ciudad', 'add_empty' => 'Seleccione')),
      'cp'            => new sfWidgetFormInputText(),
      'telefono'      => new sfWidgetFormInputText(),
      'email'         => new sfWidgetFormInputText(),
      'captcha'       => new sfWidgetCaptchaGD(),
    ));

I need to use ajax to manage the field dependecy provincia_id -
>ciudad_id.
ie , when change field provincia_id callback the method through ajax
and this change the field ciudad_id.

 Is it possible to do from the form framework?

Regards,

Adrian

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.

Reply via email to