Skip to content

bluewolf-beyond/prepopulate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

prepopulate

load form field values from url params.

  • introduction
  • documentation
  • more information

introduction

this is a simple script to load form field values based on url parameters. it is expecting the key of the param to match either the id or name of an input field.

example:

<form>
  <input type="text" id="foo">
  <input type="text" name="bar">
</form>

entering the url example.com/form.html?foo=hello&amp;bar=world would enter the value "hello" into the foo field and "world" into the bar field on page load.

for a more complete example, check out the example folder.

documentation

nothing yet

more information

nothing yet

About

load form field values from url params.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages