Monday, September 15, 2014

Generic way to create forms (not admin forms)

Hi,


In my application I have situation where I would like users to define
elements in a form -- things like buttons, text input fields, radio
buttons etc.

And save those forms as templates, and then at later time instantiate
that user-defined form and save data associated with that form.

( Basically I want to create very slimmed down version of what
applications such as pronto-form, jotform (www.jotform.com) or wufoo
forms. )

I know in general I can define JSON schema that I store that can store
how UI elements are to be stored and parse this UI element and create
HTML elements.

In this case I will store store the JSON in django table , also value
associated with form instance as new forms are instantiated.

I am looking at - http://plugins.jquery.com/dform/ or
http://www.alpacajs.org/ has anyone worked with similar things under
django are there any words of wisdom or other components I should look
at?


-Subodh

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALr9Q3axdPx2-iQAsM0LptXD-uh57eTo-Ohqw3x2Z9zPBcaFvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment