Giter Club home page Giter Club logo

bootstrap3-contact-form's Introduction

bootstrap3-contact-form

Bootstrap 3 Contact Form with Captcha

A simple bootstrap 3 contact form using SecureImage Captcha.

Dependencies

Adding or Removing Fields

The Optional Fields of Title, Company and Website are commented out in index.html; to add these simply uncomment the the code in index.html and uncomment the corresponding values in $fields_req in sendmail.php. To add or remove additional fields from the contact form:

In the HTML

  1. Add or remove the HTML element from the form (the form-group)
  2. When adding, if the field is optional, then add the class .optional to the input within the form group

In sendmail.php

  1. Add or remove an entry from the $fields_req array (map) in sendmail.php (if the field is required the map entry's value must be true, otherwise false)

Further Configuration

  • Required Change the MY_EMAIL constant in library/sendmail.php to the email address you want the contant form data to get submitted to. You can also change the email subject by editing EMAIL_SUBJECT.
  • By default required field inputs are appended with an asterisk. If you want to remove this feature, add the class .no-asterisk to the required input of the form group.

Check It Out

Demo: http://jonbake.com/demos/contact-form/

Blog Post: http://jonbake.com/blog/?p=115

bootstrap3-contact-form's People

Contributors

jonmbake avatar

Watchers

James Cloos avatar Amit avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.