I have a form like so: class SearchForm extends sfForm { public function configure() { ... $this->widgetSchema->setNameFormat('search[%s]'); ...
and an action like so: ... public function executeSearch(sfWebRequest $request) { $form = new SearchForm(); $form->bind($request->getParameter($form->getName())); } ... If I change the name format to something like 'search__%s' getParameter doesn't find the request data. If I want to pass the data to bind I need to create an array by hand from the request (as far as I know). Is there some way to have getParameter work without using square brackets in the name format? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---