Coder Social home page Coder Social logo

priscillamc / ufclas-email-form-recaptcha Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ufclas/ufclas-email-form-recaptcha

0.0 2.0 0.0 34 KB

PHP app that sends form submission and confirmation messages then redirects to a confirmation page. Uses the Google reCAPTCHA API to avoid spam submissions.

Home Page: http://www.humanities.ufl.edu/public-humanities-intent/

PHP 93.65% CSS 6.35%

ufclas-email-form-recaptcha's Introduction

UF CLAS Custom Form-to-Email

Description

Sends form submission and confirmation messages then redirects to a confirmation page. Uses Google reCAPTCHA API to avoid spam submissions.

Please contact CLAS IT for support.

Requirements

Usage

Note: Contact CLAS IT before making edits to any of the PHP files.

How to set the fields in the form

Open and edit $email_form in inc/functions.php. The fields types and arguments are in the inc/class.field.php file.

How to Change the Text above the Form or the Confirmation Page

Open and edit the following files to change the HTML that appears on the pages:

  • Text_Field
  • Textarea_Field
  • Email_Field
  • Heading_Field
  • Checkbox_Field
  • Radio_Field*
  • Captcha_Field*
  • File_Field*

Note: Radio, checkbox, and file upload fields are not fully implemented.

How to Change the Email Message Text

Open and edit the following file to change the body of the email message:

  • content/email_message.php

The comment <!--{FORM_FIELDS}-->displays the form submission data when the email is sent. Do not remove this comment for the admin email message.

How to change the header or footer text

In the inc folder there are two files: header.php and footer.php.

Note: Changes made to these pages will appear on both the form index and confirmation pages.

Changelog

To-Do List

  • Add Radio field
  • Add Checkbox field
  • Add File field

ufclas-email-form-recaptcha's People

Contributors

priscillamc avatar

Watchers

 avatar  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.