martyychang

Web-to-Lead with UTF-8 character encoding

May 28th, 2014
28
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <html>
  2. <head>
  3. <!--  ----------------------------------------------------------------------  -->
  4. <!--  NOTE: Please add the following <META> element to your page <HEAD>.      -->
  5. <!--  If necessary, please modify the charset parameter to specify the        -->
  6. <!--  character set of your HTML page.                                        -->
  7. <!--  ----------------------------------------------------------------------  -->
  8.  
  9. <META HTTP-EQUIV="Content-type" CONTENT="text/html; charset="UTF-8">
  10. </head>
  11. <body>
  12. <!--  ----------------------------------------------------------------------  -->
  13. <!--  NOTE: Please add the following <FORM> element to your page.             -->
  14. <!--  ----------------------------------------------------------------------  -->
  15.  
  16. <form action="https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8" method="POST">
  17.  
  18. <input type=hidden name="oid" value="YOUR_ORGANIZATION_ID">
  19. <input type=hidden name="retURL" value="http://salesforce.stackexchange.com/questions/33933/how-to-prevent-unwanted-web-to-lead-character-conversion">
  20.  
  21. <!--  ----------------------------------------------------------------------  -->
  22. <!--  NOTE: These fields are optional debugging elements. Please uncomment    -->
  23. <!--  these lines if you wish to test in debug mode.                          -->
  24. <!--  <input type="hidden" name="debug" value=1>                              -->
  25. <!--  <input type="hidden" name="debugEmail" value="martyc@slalom.com">       -->
  26. <!--  ----------------------------------------------------------------------  -->
  27.  
  28. <label for="first_name">First Name</label><input  id="first_name" maxlength="40" name="first_name" size="20" type="text" /><br>
  29.  
  30. <label for="last_name">Last Name</label><input  id="last_name" maxlength="80" name="last_name" size="20" type="text" /><br>
  31.  
  32. <label for="email">Email</label><input  id="email" maxlength="80" name="email" size="20" type="text" /><br>
  33.  
  34. <label for="company">Company</label><input  id="company" maxlength="40" name="company" size="20" type="text" /><br>
  35.  
  36. <input type="submit" name="submit">
  37.  
  38. </form>
  39. </body>
  40. </html>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×