Search code examples
javascriptpythondjangopython-2.7django-views

How to Create a form from a json-schema?


How to create form from JSON Schema?

I am writing code in JavaScript and jquery. With this template part like Form I am creating this with haml and adding this in js file. For backend I am using python. I am using Django framework.

So I got some links for create form from JSON Schema.

Reference link : http://neyric.github.io/inputex/examples/json-schema.html

In my Form : Input elemets : textboxes, textarea, select list, submit and cancel buttons are present.

So I want to ask is creating form with JSON schema is feasible or not? If yes then, can you provide some good links?


Solution

  • jsonform - Build forms from JSON Schema. Easily template-able. Compatible with Twitter Bootstrap out of the box.

    https://github.com/joshfire/jsonform