3

I want to generate html form based on json response from server. In JSON response there will be input type , input title all necessay information. It can be checbox , radio button , texarea or any any input.

Is there any third party tool to generate the form.

Thanks .

CloudyMarble
  • 36,908
  • 70
  • 97
  • 130
druveen
  • 1,611
  • 3
  • 15
  • 32

2 Answers2

6

Try the dhtmlx forms javascript library:

http://www.dhtmlx.com/docs/products/dhtmlxForm/index.shtml

You can create forms on the fly with xml/json as datasource

Tobias Schittkowski
  • 2,221
  • 2
  • 16
  • 25
1

Have a look at Ext JS 4:
http://www.sencha.com/products/extjs/

There is a sample for dynamic forms created from JSON:
http://dev.sencha.com/deploy/ext-4.0.7-gpl/examples/form/dynamic.html

Also look at the Ext Designer, to create the Javascript to render these forms:
http://www.sencha.com/products/designer/

Ext JS 4 has both commercial and GNU GPL license v3 but the designer is commercial with a 30-day trial.

Michael Allan Jackson
  • 4,217
  • 3
  • 35
  • 45