Erez Barak
posted this on September 24, 2009 10:45 am
The main goal of your website is to convert visitors into leads. A website form is a critical tool in this, as it gives visitors a low-cost, low-commitment way to open a dialog with you, and it gives you a way to gather crucial contact information on the people visiting your website.
Fortunately, Optify's Landing Pages application makes it simple for you to create a lead-capture form in just a few minutes. If you prefer a simpler HTML form, an example of that is provided below.
The Form Only template lets you create a custom form with just a few clicks.
To create a form for your website:
For more help and information about forms, see Working with forms.
Another option is to use the simple website form below that prompts the user for their first name, last name, title, company, email and phone.
To create a simple HTML form:
Notes:
<form id="sign-in-form" action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="post">
<input name="retURL" type="hidden" value="<insert return url>" />
<input name="oid" type="hidden" value="" />
<table border="0" cellspacing="1">
<tr>
<td align="right" height="25"><b><font face="Arial" size="2" color="#0009BB">First Name:</font></b></td>
<td width="418" align="left" height="25"><input id="first_name" maxlength="80" name="first_name" size="20" type="text" /></td>
</tr>
<tr>
<td align="right" height="25"><b><font face="Arial" size="2" color="#0009BB">Last Name:</font></b></td>
<td width="418" align="left" height="25"><input id="last_name" maxlength="80" name="last_name" size="20" type="text" /></td>
</tr>
<tr>
<td align="right" height="25"><b><font face="Arial" size="2" color="#0009BB">Title:</font></b></td>
<td width="418" align="left" height="25"><input id="title" maxlength="80" name="title" size="20" type="text" /></td>
</tr>
<tr>
<td align="right" height="25"><b><font face="Arial" size="2" color="#0009BB">Company:</font></b></td>
<td width="418" align="left" height="25"><input id="company" maxlength="80" name="company" size="20" type="text" /></td>
</tr>
<tr>
<td align="right" height="25"><b><font face="Arial" size="2" color="#0009BB">Email:</font></b></td>
<td width="418" align="left" height="25"><input id="email" maxlength="80" name="email" size="20" type="text" /></td>
</tr>
<tr>
<td align="right" height="25"><b><font face="Arial" size="2" color="#0009BB">Phone:</font></b></td>
<td width="418" align="left" height="25"><input id="phone" maxlength="80" name="phone" size="20" type="text" /></td>
</tr>
<tr>
<td align="right" height="25"></td>
<td width="418" align="left" height="25"><input alt="Submit this form" type="submit" /></td>
</tr>
</table>
</form>