PDA

View Full Version : Dynamically Creating Forms



kyros
1 Feb 2008, 10:53 AM
I need a point in the right direction.

What I am wanting to do is build a form based on a json response from the server. The number of inputs I need will change depending on the size of the database table.

How can I go about doing this since I have no clue how many items there will be each time?

devnull
1 Feb 2008, 10:59 AM
create a form config object based on your json and just pass that to a form constructor.

kyros
1 Feb 2008, 11:58 AM
I'm sorry but I'm really new to all of this.

How can I do that? Is there an example of this someplace?

halkon_polako
1 Feb 2008, 12:28 PM
You also can take a look in this extension: http://extjs.com/forum/showthread.php?p=86088#post86088