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: http://www.threeamdesign.com.au/
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(); ?>
    <fieldset>
        <legend>Your message</legend>
        <p>
            <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']);?>" />
        </p>
        <p>
            <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']);?>" />
        </p>
        <p>
            <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>
        </p>
        <p>
            <input type="submit" value="Send" />
        </p>
    </fieldset>
</form>

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