Trying to make a contact form example with symfony2

前端 未结 4 697
南笙
南笙 2021-02-10 10:27

Here I\'m trying to fill in a contact form then send it. However when I fill in the form and click on send I have this exception :

UndefinedMethodException: Atte         


        
4条回答
  •  别那么骄傲
    2021-02-10 11:16

    Use $form->handleRequest($request); to handle form submissions - http://symfony.com/doc/current/book/forms.html#handling-form-submissions

提交回复
热议问题