This is how you pre-populate a web form in Infusionsoft using PHP
Make sure your page is saved as .php before you try to test this.
<input type=’text’ name=’Contact0LastName’ value=’<?=$_GET['field name goes here']?>‘ />
To get the field name just look at the url and see what is passed. Just put that field name in the above section of code to have it pull from the url string.
So here is an example of a form. I will insert the above code to make first name,last name and email work.
You can copy and paste the first name line code below into one of your forms if you like.
Then host it using a .php page.
Then create a trackable link to send to the url of hosted form and check off the pass fields option check box.
<form action=”https://yourappname.infusionsoft.com/AddForms/processFormSecure.jsp” method=’POST’>
<input name=”xid” value=”1085e2956844e9da5c7c11786c2e71ee” id=”xid” type=”hidden” />
<input name=”type” value=”CustomFormWeb” id=”type” type=”hidden” /> <table><tr><td colspan=99 style=”padding:4px;background-color:#000000;color:#FFFFFF”>Contact Information</td></tr><tr><td>First Name</td><td>
<input type=’text’ name=’Contact0FirstName’ value=’<?=$_GET['FirstName']?>’>
</td></tr><tr><td>Last Name</td><td>
<input type=’text’ name=’Contact0LastName’ value=’<?=$_GET['LastName']?>’>
</td></tr><tr><td>Email *</td><td>
<input type=’text’ name=’Contact0Email’ value=’<?=$_GET['Email']?>’>
</td></tr><tr><td colspan=2><input name=”Submit” value=”Submit” id=”Submit” type=”submit” /></td></tr>
</table>
</form>
Thats pretty much it.
Let me know if you have any questions by going here.
STEVE
infusionpros.com






