jquery - symfony create & validate dynamic tabular -


I want to create a dynamic tabular with input type text-field after hitting the previous row, the same input type text A new row should appear with the field and verification from the server side should also work. How can I do this? Is there a code example?

Thank you!

Are you talking like something?

Please enter the image details here

Edit:

This project uses, as you can see with TodoPeer : < $ {TodoWrapperForm-> embedForm ($ todo- & gt; getId), new TodoForm ($ todo)) / p>

  foreach (TodoPeer :: doSelect) ; }   

To embed all the Todos form in the main one just a basic SELECT * FROM TODO . With the principle: $ todos = Doctrine_Core :: getTable ('Todo') - & gt; FindAll (); Forex Currency ($ todos as todo) {$ todoWrapperForm- & gt; Embeds ($ todo-> GetId), new TodoForm ($ todo)); }

Comments