jQuery Form Fill Plugin
Overview
The"jQuery Form Fill" fills forms from JSON objects.
Quick Start Guide
Using names of form elements with object syntax ("user.name"):






from string (mm/dd/yyyy, mm-dd-yyyy, yyyy-mm-dd or yyyy/mm/dd)

from milliseconds



Yes No

Admin
User
Developer



  $("#form1").fill(user);
Using normal names of form elements:




from string (mm/dd/yyyy, mm-dd-yyyy, yyyy-mm-dd or yyyy/mm/dd)

from milliseconds



  $("#form2").fill(user, {styleElementName:'none'});
JSON used:
  user = {
    "name" : "Makoto Hashimoto",
    "email" : "makoto@makoto.blog.br",
    "phone" : {
      "codeArea" : "+55",
      "number" : "2755555555"
    },
    "date1": "03/30/1981", // (mm/dd/yyyy)
    "date2": "354769200000", // 1981-03-30 in milliseconds
    "gender" : "M"
    "admin" : "Y",
    "rules" : [
      {"id" : "1", "name": "Admin"},
      {"id" : "3", "name": "Developer"}
    ]
  };
Options:
styleElementName
dateFormat
You can inform what date format come from json.
Examples:
debug
elementsExecuteEvents
You can inform each element type you want execute the methods of events onclick or onchange.
Examples: