Fastest way to build form - PHP/jQuery/CodeIgniter -


there tons of ways handle forms in general, i'm wondering if has solid solution use of apps, can build out forms , include types of form elements.

what i'm using ci's built-in form validation , building out form, this, feel takes long... suggestions?

there jquery plugin (called "dform") take json input build form dynamically. have been using while now.

please take @ following url: http://neyeon.com/p/jquery.dform/doc/files2/readme-txt.html 

quick usage:

var formdata = { "action" : "index.html", "method" : "get", "elements" : [     {         "name" : "textfield",         "label" : "label textfield",         "type" : "text",         "value" : "hello world"     },     {         "type" : "submit",         "value" : "submit"     } ] };  $("#myform").buildform(formdata);  // or load form definition via ajax $("#myform").buildform("http://example.com/myform.json"); 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -