Tuesday, May 13th, 2008

inputEx: JSON form builder

Category: JSON, Showcase

inputEx is “a javascript framework to build fields and forms” created by Eric Abouaf. The framework uses a JSON format to describe a form, such as:

javascript

  1. {
  2.     "fields" : [
  3.         {
  4.             "type" : "group",
  5.             "inputParams" : {
  6.                 "fields" : [
  7.  
  8.                 ],
  9.                 "name" : "",
  10.                 "tooltipIcon" : false,
  11.                 "value" : {
  12.  
  13.                 },
  14.                 "optionsLabel" : "Options"
  15.             }
  16.         }
  17.     ],
  18.     "optionsLabel" : "Options"
  19. }

which you can build with the help of the builder application.

Check out the getting started guide and if you like to build an application that looks like:

javascript

  1. init: function() {
  2.       this.buildTree();
  3.       this.initContextMenu();
  4.       this.buildForm();
  5.       this.initEvents();
  6.       this.queryData();
  7.    }

rather than HTML, then this could be the tool for you!

inputEx

Posted by Dion Almaer at 7:35 am
7 Comments

+++--
3.3 rating from 32 votes

7 Comments »

Comments feed TrackBack URI

Nice, it’s a more advanced version of something I played with a while ago whilst doing some work on JSON based microformats…
http://microjson.org/wiki/JForm
This is much more in depth, it would be a nice addition to the microJSON wiki of definitions.

Comment by jpsykes — May 13, 2008

Excuse me doesn’t ExtJS already have this functionality from like a year ago or what’s the difference difference

Comment by Teroz — May 13, 2008

Nice concept. Gave me a few ideas.

Comment by MaratDenenberg — May 13, 2008

@Teroz: The difference is that it doesn’t use ExtJS it relies on YUI. Not everyone is head over heels for ExtJS, especially with its current licensing dilemma. Additionally this library appears to be much easier to use than the sometimes overly complicated requirements for ExtJS.

Comment by seancallan — May 13, 2008

Well, YUI isn’t so hot either. It’s so ridiculously over-abstracted it’s a real pain to use. A Mootools version of it would’ve been amazing, though. ;)

Comment by dnagroove — May 15, 2008

excellent, thank you for the contribution.

Comment by vanetino — June 11, 2008

Thanks, this is a very useful web design tool for everyone.

Comment by traza — November 10, 2009

Leave a comment

You must be logged in to post a comment.