Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter slinxter

    (@slinxter)

    Thanks – but I can’t find any plugins that support web-to-lead forms, I am trying to feed this data back into my CRM tool.

    Unless anyone has any suggestions?

    Thanks, Steve

    Thread Starter slinxter

    (@slinxter)

    Thanks Tom,

    Any javascript bods out there with any ideas how I can resolve this one?

    Thread Starter slinxter

    (@slinxter)

    I’m trying my damnedest – anyone see why this would fail?

    Any help would be much appreciated!!

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                        "http://www.w3.org/TR/html4/loose.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      <script src="http://code.jquery.com/jquery-latest.js"></script>
      <script type="text/javascript" src="http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js"></script>
    
    <style type="text/css">
    * { font-family: Verdana; }
    label { float: left; }
    label.error { float: none; color: red; padding-left: .5em; vertical-align: top; }
    p { clear: both; }
    .submit { margin-left: 12em; }
    em { font-weight: bold; padding-right: 1em; vertical-align: top; }
    </style>
      <script>
      $(document).ready(function(){
        $("#commentForm").validate();
      });
      </script>
      </head>
    <body>
    <fieldset>
    <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
    <input type=hidden name="oid" value="00D200000000DLp">
    <input type=hidden name="retURL" value="http://www.procurementleaders.com/thank-you">
    <input type=hidden name="00N20000000hi7N" value="newsletter_select">
    <table width="90%" align="left" >
    <tr>
    <td>&nbsp;</td>
    <td colspan="2">Please enter your details below to register to receive our newsletters.</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td width="0%"></td>
    
    <td width="43%"><label for="salutation"></label></td>
    <td width="50%">
    <div align="left">
    <select  id="salutation" name="salutation">
    <option value="">--None--</option>
    <option value="Mr.">Mr.</option>
    <option value="Ms.">Ms.</option>
    <option value="Mrs.">Mrs.</option>
    <option value="Dr.">Dr.</option>
    <option value="Prof.">Prof.</option>
    <option value="Miss">Miss</option>
    </select>
    </div></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><label for="first_name">First Name</label></td>
    <td align="left">
    <div align="left">
    <input id="first_name" name="first_name" size="25" class="required" minlength="2" />
    </div></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><label for="last_name">Last Name</label></td>
    <td align="left">
    <div align="left">
    <input id="last_name" name="last_name" size="25" class="required" minlength="2" />
    </div></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><label for="company">Company</label></td>
    <td align="left"><div align="left">
    <input id="company" name="company" size="50" class="required" minlength="2" />
    </div></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><label for="country">Country</label></td>
    <td align="left"><input id="country" name="country" size="80" class="required" minlength="2" />
    </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td><label for="email">Email</label></td>
    <td align="left"><div align="left">
    <input  id="email" maxlength="80" name="email" size="20" type="text" class="required email" />
    </div></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td colspan="2" valign="top"><hr></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td colspan="2" valign="top"><p>Please select which of our newsletters you wish to receive.</p>  </td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td colspan="2" valign="top">&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign="bottom">Procurement Leaders Newsfeed      </td>
    <td valign="bottom"><input name="00N20000001kBzR" type="checkbox"  id="00N20000001kBzR" value="1" /></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign="bottom">Sustainable Sourcing    </td>
    <td valign="bottom"><input name="00N20000001kBzg" type="checkbox"  id="00N20000001kBzg" value="1" checked="checked" /></td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign="top">&nbsp;</td>
    <td>&nbsp;</td>
    </tr>
    <tr>
    <td>&nbsp;</td>
    <td valign="top"><input name="submit" type="submit" value="Submit"></td>
    <td>&nbsp;</td>
    </tr>
    
    <tr>
    <td height="48">&nbsp;</td>
    <td colspan="2">&nbsp;</td>
    </tr>
    </table>
    <br />
     </fieldset>
    </form>
    
    </body>
    </html>
    Thread Starter slinxter

    (@slinxter)

    Hi scribu – thanks for the response.

    I’ve searched online and I can only find instructions for validating comments – not HTML forms like in my example.

    Would anyone be assist me in finding some help on this?

Viewing 4 replies - 1 through 4 (of 4 total)