The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
jQuery Form Fill Plugin
jQuery Form Fill Plugin
Overview
The "jQuery Form Fill" fills forms from JSON objects.
-
Fills all kinds of html elements.
- text
- password
- hidden
- textarea
- checkbox
- radio
- select
-
Fills fields with jQueryUI Datepicker.
- Date in string format. Ex: "MM/DD/YYYY"
- Date in milliseconds
Code Example
$("#btnExample1").click(function() {
var user = {
"name" : "Makoto Hashimoto",
"email" : "makoto@makoto.blog.br",
"phone" : {
"codeArea" : "+55",
"number" : "2755555555"
},
"date1": "03/30/1981",
"date2": "354769200000", // 1981-03-30 in milliseconds
"gender" : "M",
"admin" : "Y",
"rules" : [
{"id" : "1", "name": "Admin"},
{"id" : "3", "name": "Developer"}
]
};
$("#form1").fill(user);
});Downloads
Development
(1 vote)
