Hi. Yes, it is possible, but currently I only now the GET method.
Look for this snippet: if ($this->form->isValid()){ $this->redirect('contact/thankyou?'.http_build_query($this->form->getValues()));} On this Resource... http://www.symfony-project.org/forms/1_4/en/02-Form-Validation It is the "Forms in action" From Symfony docs. The .http_build_query will pass the data to another action, if the form is valid (for this example) But I would love to know a POST implementation example. If you get it first than I, please send me a short mail [?] 2010/11/24 Marcelo <marcelooliveira...@gmail.com> > Is it possible to pass variables through actions ? > > Because I use some vars in new action, but if the form is invalid it > will stop on create action to fix the erros and then I get the > undefined variables > > ps: The values of these variables in new action is requested by url > (new/someid/3) which by the way is hard coded. > > Or is there another (correct) way to do that ? > > Thanks! > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@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
<<360.gif>>