Coder Social home page Coder Social logo

jetform's Introduction

jetForm

Simple framework application to create dinamic and validated form in 2 seconds. In only few click you obtain a form in the sub directory "form" that make and insert into your database with all field validated. Very useful for example, for newsletter subscrition form

Installation

Unzip the package into your root directory. Create two directory and set apache user like owner: "logs" and "data"
Set apache user like owner also to the directory form and all files inside, for example if you use linux debian: chown -Rf www-data:www-data form

CONFIGURATION

Open conf/db.php and set database connection parameters. Open conf/vars.php and set form creation variables:

<?php
    $timezone = "Europe/Dublin";
    //field form, separeted by ","
    $db_fields = "name,surname,email,address"; 
    //field to validate
    //automatic validate for: 'name'||'surname'||'sex'||'job'||'phone'|| 'address' || 'city' || 'cap' || 'nation' || age || email || privacy1 || privacy2
    $mandatory_fields = "email"; 
    
    $logName = "projectname_form_subscribe"; //name for file log
?>

Usage

Just time in your browser the url for form creation: http://www.yoursite.com/creation You have your database (you can find a dump into sub directory data), your form and all the action for subscribtion. The only things you have to do is customize your confirm.html page inside form directory and personalize with some color your new form :)

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.