PDA

View Full Version : Dynamic Form



marcn44
2 Mar 2010, 10:17 PM
Hello everyone!
Sorry for my English ..

I try to make a dynamic form binded on a database. I searched the forum, bought the books "ExtJS Cook Book" and "Learning ExtJS" without finding answer.

In the DB there are 3 names (3 is for example): John, Tim and Paul. I want create
a form (vertical) to enter the profession (for example),
something like this (see image):

[FieldLabel] John: "input field"
Tim: "input field"
Paul: "input field"

Without making a hardcode (like Panel.addField) but looping through the recordset from the DB.

Can you give me a little example code?

I use EXT 310

Thank you in advance, Marc