Skip to content
simply autofill an empty form with data (jQuery plugin)
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
doc
.gitignore
README.md
bower.json
form-autofill.jquery.json
index.html
jquery.formautofill.js
jquery.formautofill.min.js
jquery.formautofill.sublime-project

README.md

jQuery form autofill

jQuery plugin to simply autofill an empty form with data.

Documentation

See complete documentation and demo

Usage

You have a form

<form id="f">
    name <input type="text" name="name">
    email <input type="text" name="email">
    love jQuery
    <input type="radio" name="lovejquery" value="yes"> yes
    <input type="radio" name="lovejquery" value="no"> no
</form>

And data

var data = {
    "name": "John Doe",
    "email": "johndoe@mail.com",
    "lovejquery": "yes"
}

Autofill the form with data ? just do

$("#f").autofill( data );
You can’t perform that action at this time.