Using javascript, this form will gather data from an incoming URL/Link and populate fields in the form accordingly. The URL must contain existing (visible or hidden) fields or can contain NEW fields that will also be transmitted.
Currently, hitting SEND will send the script to a checking script "check.php" and will show you what what would normally be transmitted to your regular form handler (CGI or whatever.) To place the form into action, simply replace the ACTION="check.php" with ACTION="insert your script address/handler here"
This is the default Form Page: contact.html
Using form fields that exist. These will be pre-filled accordingly. We'll pre-fill the "source" and "property" fields.
contact.html?source=google-page&property=DowntownCondo
contact.html?source=email-june-06&property=1627YorkStreet
This script will also populate hidden fields that are already existing. For instance, "Track1" and "Track 2" are existing hidden fields. We'll also populate the two regular fields too, "source" and "property"
contact.html?source=email-june-06&property=1627YorkStreet&Track1=PreFillTest&Track2=HiBlake
The idea here is that NEW hidden fields will be created if fields are defined below and not already in the form. The hidden field(s) will be created and processed with the form.