Portal Home > Knowledgebase > Technical > Wordpress Form Integration using cforms II Plugin


Wordpress Form Integration using cforms II Plugin




Step 1. Create the form in Mailing Manager using the Forms Wizard. You can include as many custom fields as you need. (The CAPTCHA security is not compatible so needs to be disabled).

Step 2. You will need some information from the HTML code of the form you have created in order to integrate the Wordpress Plugin. You can copy and paste the code into Notepad or a HTML editor to make it easier to view.

The information you need is shown in bold and red below:

<!--
Do not modify the NAME value of any of the INPUT fields
the FORM action, or any of the hidden fields (eg. input type=hidden).
These are all required for this form to function correctly.
-->
<style type="text/css">

.myForm td, input, select, textarea, checkbox {
font-family: tahoma;
font-size: 12px;
}

.required {
color: red;
}

</style>
<form method="post" action="http://www.mailm.co.uk/trial7/form.php?form=9" id="frmSS9" onsubmit="return CheckForm9(this);">
<table border="0" cellpadding="2" class="myForm">
<tr>
<td><span class="required">*</span>&nbsp;
Your Email Address:</td>
<td><input type="text" name="email" value="" /></td>
</tr><tr>
<td>&nbsp;&nbsp;&nbsp;&nbsp;Name:</td>
<td><input type="text" name="CustomFields[104]" id="CustomFields_104_9" value=""></td>
</tr><input type="hidden" name="format" value="h" />
<tr>
<td></td>
<td>
<input type="submit" value="Subscribe" />
<br/>
</td>
</tr>
</table>
</form>

Step 3. You should now have the URL to which the form needs to be ‘posted’ in order to send the information to the Mailing Manager database, in this case http://www.mailm.co.uk/trial7/form.php?form=9. You should also have the ‘name’ of each of the input fields in your form ‘email’ is always included you may also have additional fields.

Step 4. Once you have this information, you can login to your Wordpress Admin panel and edit the form in the cformsII ‘Form Settings’ screen.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
Skype Issues (Views: 1496)

Powered by WHMCompleteSolution