Hi Martin, Can you give us some more information about your configuration. Is the form submitted with a POST method?
Fabien -- Fabien Potencier Sensio CEO - symfony lead developer sensiolabs.com | symfony-project.com | aide-de-camp.org Tél: +33 1 40 99 80 80 Martin Groh wrote: > Hello an greetings from sunny but cold river Rhine, > > I'm trying out the new forms system and really and really appreciate > all the advantages it offers. Great work there! Thank you... > But for some reason, my very simple contact form does not behave as > expected. > When I fill every field, all is well. The parameters look the > following; > sfParameterHolder Object > ( > [parameters:protected] => Array > ( > [name] => a > [firstname] => b > [email] => [EMAIL PROTECTED] > [module] => contact > [action] => thankyou > ) > ) > > but when I leave "firstname" empty, I get the following: > sfParameterHolder Object > ( > [parameters:protected] => Array > ( > [name] => a > [firstname] => email > [EMAIL PROTECTED] => 1 > [module] => contact > [action] => thankyou > ) > ) > > What I found out, is that the ServerVar PATH_INFO looks a bit strange > to me. After sending the form, I have (amongst others) these to > ServerVars set: > [REQUEST_URI] => /frontend_dev.php/contact/thankyou/name/a/firstname// > email/c%40c.de > [PATH_INFO] => /contact/thankyou/name/a/firstname/email/[EMAIL PROTECTED] > > Why is the empty field between firstname and email missing in the > PATH_INFO? Is this the intended behaviour? Has anyone else run up to > this? > > Thanks a lot in advance! > Martin > > PS: I posted this in the forum as well, unfortunately with no > response, so I'll try it here again. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
