2.1.1 • Published 9 years ago

url2form.js v2.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
9 years ago

url2form.js

A JavaScript library to fill a form with the current url queries.

It allows you to create JavaScript application with sharable states without having a back-end. Start filling your form, validate, bookmark the generated URL, and you'll be able to go back to this specific state later.

Quick start

npm install url2form.js
<form name="myFormName">
  <input type="text" name="myInput" value="" />
  <button>Validate</button>
</form>

<script>
  url2form.init('myFormName');
</script>

If the URI is "?myInput=myValue" the input will be valued with "myValue". Every time you click on validate, you create a new URL to bookmark.

Projects using it

  • Pajomatic: Help for French parents who pay a nanny

How to Contribute

  1. Star the project!
  2. Report a bug that you have found.
  3. Tweet and blog about url2form.js and Let me know about it.
  4. Pull requests are also highly appreciated.

Author & Community

url2form.js is under MIT License. It was created & is maintained by Thomas ZILLIOX.

2.1.1

9 years ago

2.1.0

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.0

9 years ago