Giter Club home page Giter Club logo

formbuilder's Introduction

####FormBuilder

This a project for JavaScript/jQuery app that builds Web forms. The current version of the project is 1.0.0.

The form building part of the app is pretty much complete and workable solution. The actual form part of the app is still under construction, as the data validation is incomplete. You can also use the form builder to create your own forms by extending the app.

Demo http://mysterious-caverns-1462.herokuapp.com/FormBuilder.html

The form builder part returns data that can be used to build your own plugin for form creation and validation. The get the data, you can access the fields to be included in the created form with the following JavaScript:

var fb = new FormBuilder(); 

fb.getFormData();

The above returns an array of field item objects that were created while using the form builder. The field items’ JSON representation is described in folder json-schema. Those items that are returned by the function, can also be found by looking at Web page’s div elements that have class formBuilder; this works with Chrome’s developer tools.

If you decide to use the app, then formBuilder.min.js and formBuilder.min.css needs to be referred on the Web page. In order to use the code you need also include jQuery and jQueryUI to make the code work. The img folder containing the images for the form builder needs to be in the same folder as the Web page.

The code has been tested with jQuery version 1.11.1 and jQueryUI version 1.11.0, and it works in Chrome, IE, Opera and Safari. A great deal of the testing has been done in Chrome. Firefox isn’t supported.

Most of the images in the project are from IcoMoon, https://icomoon.io/ and few from jQueryUI; only one image that is used is home made. So great thanks for IcoMoon and jQueryUI for those handy images.

In the demo, a custom made jQueryUI theme is used for lighter image colors. The theme can be found from demo_formbuilder git repository’s folder public/css.

The form part of the project that is under construction uses Bootstrap version 3.

The form builder’s appearance and usability resemble quite a lot of one well-known Forms app that I admire a lot; so only most of the JavaScript/jQuery/JSON in the project is original, apart from jQuery and jQueryUI libraries that are used in the project.

If you have any question, then you can reach me with email at: jyrki.mizaras[AT]gmail.com

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.