PDA

View Full Version : Dynamic Form Creation on loading with getting field names,types&styles from DB/XML



lokendarreddy
1 Oct 2012, 2:56 AM
Hi All,

I have a requirement in generating a dynamic form.

1) I have to store field names, field types and styles in XML file or Database and retrieving from that xml/DB file and generating json object with all values in JSP.

2) Now i have to load that JSON object into JS file. Then i have to render those all fields in generated form when its loading.

This is my requirement. Please any one can help me in this.......

I don't know is it possible with ExtJS or not?
Please give me replay.......


Thanks to all............

scottmartin
2 Oct 2012, 10:01 AM
See if this is what you are looking for:
http://www.sencha.com/forum/showthread.php?236941

There is also this approach when you create a dynamic form: (post 8)
http://www.sencha.com/forum/showthread.php?205674

Scott.

lokendarreddy
2 Oct 2012, 8:59 PM
Hi Scott,

Thank for the replay......

Actually i have done with creating new fields in form panel on onclick event(button) but my requirement is first i have only two fields in my form panel then i have added one new field details in XML file so on next loading of that form it has to load with new field details(means three fields) with the added field details......

i hope now requirement is clear....

Thank you.....