|
|||
| Home Blog About | |||
|
|
Here is a simple popup contact form (modal popup)
A popup contact form has many benefits. You can add a button/link in every page that
pops up the contact form in a modal popup. That makes the contact form
easily accessible from any part of the website.
Your web site visitors do not have to 'hunt' for the 'contact us' page. Download the popup contact form code
You can download the contact form that best fits your needs and then customize as required.
Features of the popup contact form
Installing the contact form on your web site
$formproc->AddRecipient('name@your-website.com');//<<---Put your
// email address here
<a href='javascript:fg_popup_form("fg_formContainer","fg_backgroundpopup");'
>Contact us</a>
Customizing the formTo change the style of the form, edit the contact.css. You can add any type of additional fields to the form. The fields will automatically appear in the form submission emails. For client side validations, this script uses the JavaScript validation library. You can add additional client side validations using the same library.. (See the documentation here: JavaScript form validation library). Additional server side validations can be added in the file 'include/fgcontactform.php' Validate() function. License
The code is shared under LGPL license. You can use it on commercial or non-commercial websites.
Related pages |
| © 2008-2010 html-form-guide.com . | ||