load form field values from url params.
- introduction
- documentation
- more information
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&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.
nothing yet
nothing yet