jquery-form
jquery-form is a jquery plugin that provide on-the-fly form generation with declarative syntax.
Version
Current version is 0.10. Still bleeding.
Synopsis
This creates a form with 2 fields
$("#form1").form({ legend: "Quiz #4", params: { "Title": "What's the answer ?", "your_answer": { label: "Your Answer", value: "42" } } }) .find(":submit").val("Save").end() .submit(function() { $("#message").html("You just submit that form"); setTimeout(function() { $("#message").empty(); }, 5000); return false; });
DESCRIPTION
jquery-form provides on-the-fly form generation with:
- declarative syntax
- good default semantic
It's very questionable about why people even need to generate a whole form all in javascript, and my saying is that this is one kind of future.
At this moment you can only see text fields generated, and it's not very customizable yet. More and more type of traditional fields, or smart fields, are being integrated into this branch. So stay tuned.
Screenshot
Download
Extensions
LICENSE
The MIT License
Copyright (c) 2007, Handlino, Inc.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Attachments
- screenshot.png (104.5 kB) - added by gugod 6 months ago.
