HOW TO use this script?

Discuss everything related to ContactForm. All versions. Any questions related to the ContactForm developing or using should be posted to this forum.

Moderators: ne_moj, zewa, vadimako, goas, ne_moj, zewa, vadimako, goas

Site Admin
Site Admin
Posts: 5962
Joined: Jan 7th, '09, 23:18

HOW TO use this script?

Postby administrator » Feb 27th, '17, 20:09

To start using of this script do following:

1. Include this file at the top of the page where you want to use contact form:

Code: Select all

 <?php include('include/contact-process.php'); ?>

2. Write this line of code at the place on your page where you want the form will appear:

Code: Select all

<?php draw_contact_form('en'); ?>

3. Add at the bottom of your page (optional):

Code: Select all

<?php set_field_focus(); ?>

4. Define in contact-proccess.php allowed fields and other settings

Also, try it with online demo: ... ng-started

Make sure that you have mail() function working as expected on your server!

Return to “ApPHP ContactForm”