hi, I'm new in symfony, and i have some doubts about "forms" creation, by the way, i have been following this tutorial: http://www.symfony-project.org/forms/1_4/en/01-Form-Creation
1- Why in symfony all the HTML elements like inputs, selects etc should be created using php rendering? dont understand what are the benefits of this, i mean, instead of using <input type="text"></input> i must create a form class, then create inside this class all the widgets that the form will use, and finally render all that widgets in the view template. 2-In the tutorial section "Listing 1-6" they use this line: $this->widgetSchema->setNameFormat('contact[%s]'); but never explain how can i extract all the fields of the form using the "contact" array for example in the index action, i tryed lots of ways($request->getParameter('contact')[0] or $request- >getParameter('contact')->get('email') or $request- >getParameter('contact[email]')) any idea how can i get this fields? 3- I'm integrating Mootools javascript framework with my test app. Until now everything goes fine except the ajax part, i have searched about symfony=mootools=jax withoot any luck. I already make the ajax call, and it gets to the server side just well, but the response is not well maybe i need to implemete a js template but not sure how to do using mootools. I saw some examples using jquery but it is not the same. Any idea? 4- Sometimes i need to see what are the values of some variables, how can i just use a print_r(), or an echo or something to see its contents? Any idea will be apreciated cheers -- 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 To unsubscribe, reply using "remove me" as the subject.