Basic contact form

Downloads: 4365
Category: Plugin
Compatible with: GetSimple 3.0 - 3.0

Last Updated: January 31, 2012
Tags: contact form set_contact_form
Author: threeam
Author Website:
Support: Support Forum

(2.7) 62 Votes

Plugin Description:

A simple, set_contact_form()-like, contact form.

Install Instructions:

  1. Upload the plugin php file to your the plugins folder
  2. Create a form with inputs having descriptive name attributes in a theme page or component (remember to use _ instead of spaces for names like Phone_number
  3. Put <?php custom_contact_form_process(); ?> at the start of the form
  4. Go to Themes > Basic Contact Settings and fill in the fields

example form:

<form action="<?php get_page_url(); ?>" method="post" class="contact-form">
    <?php basic_contact_form_process(); ?>
        <legend>Your message</legend>
            <label for="firstname">Your name<span class="required">*</span></label><br />
            <input id="firstname" class="field" type="text" name="Name" value="<?php echo htmlspecialchars(@$_POST['Name']);?>" />
            <label for="email">Email<span class="required">*</span></label><br />
            <input id="email" class="field" type="text" name="Email" value="<?php echo htmlspecialchars(@$_POST['Email']);?>" />
            <label for="message">Message<span class="required">*</span></label><br />
            <textarea id="message" class="field" name="Message" rows="4" cols="40"><?php echo htmlspecialchars(@$_POST['Message']);?></textarea>
            <input type="submit" value="Send" />

Archived Versions:

These are old versions of this file. Please use with caution as they are probably out of date and no longer supported. ShowHide