eMarketeer lets you integrate a form on your homepage by pasting html-code in your sites source code. The form html code generated by eMarketeer is stripped of all design and validation so that you can apply your own styles and validation scripts.
The generated form uses javascript to submit the form. This is mainly because of two reasons.
- It makes it easy for you to add your own validation code in the existing function.
- Spam bots that fills out forms with junk are filtered out since they normally can’t run Javascript.
Environment Requirements
The code is intended to be pasted into your sites source code. However make sure you follow these requirements for a successful implementation.
Nested Forms
Make sure there aren’t any other form tags conflicting. Nested form tags will not work for any form.
Unicode Only
Make sure the page is in a Unicode charset. This ensures posted data is correctly stored in eMarketeer regardless of input language. This can be achieved in several ways.
Webbserver level
The webbserver can be set to use the Unicode for all pages by default.
Client level
Make sure the html on your page has the following meta tag.
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Server script
If you use serverside scripts you can alter the charset for each page.
PHP
<?php header('Content-Type: text/html; charset=utf-8'); ?>
ASP
<% Response.charset="utf-8" %>