You can do something like:
<a href='myform.php?name=Bob&surname=Terrier'>Click here</a>
This will send name and surname as GET variables to the form.
Beware of any form that modifies data, as search engines and spiders will follow links where they do not cross the forms.
Jeremy smyth
source share