Form Filler

Automatically fills in HTML form fields using user-defined static entries or automatically learned data.

Parameters

auto

The auto parameter enables automatic learning.

Format:

auto = boolean

field

One or more field parameters specify static field values.

Format:

field = name:value

name – field name (the name attribute of HTML input element).
value – default field value.

For example, if you add a field entry like this to a Form Filler filter

field=email:johns@sympatico.ca

it will convert HTML code similar to:

<form>
  Enter your e-mail address: <input name="email">
</form>
to something like this (a value attribute added):
<form>
  Enter your e-mail address: <input name="email" value="johns@sympatico.ca">
</form>

The rules:


Security note: Make sure that Foxy data directory (where formcache and other files are stored) can be accessed only by the system administrator and Foxy server itself so that users cannot see each other's entries.

Example

If you add the following filter to your filters.cfg and go to http://books.wpl.ca/patroninfo~S4, the required fields will be filled in automatically.

type = Form Filler
name = My Waterloo Public Library Login
enabled = true
time = 
user = john
include = wpl.ca
auto = false
field = code:12345678901234
field = name:John Smith
field = pin:1234

See also Common Filter Parameters.