Git Product home page Git Product logo

sheepit's Introduction

What is SheepIt!?

SheepIt! is a jQuery plugin that allows you to clone form elements dynamically.

It is very useful to develop advanced forms that require the same type of load data multiple times.

Like: A Person -> Has multiple Addresses -> Has multiple phones

HomePage: http://www.mdelrosso.com/sheepit/

Some features are:

Configuration options: Limit the number of forms, Form controls customizable, number of initial forms, delete confirmation etc.

Advanced controls: Add multiple forms at the same time, remove the last one and remove all are some of the advanced controls that sheepIt provides.

Web designers friendly: SheepIt! use the same template that the designer can see in your editor, easy to upgrade the design.

Data injection: Thanks to the API inject() method, sheepIt lets you load an array of data to the entire form, to an embedded clone form or to a specific clone. The method will perform all operations necessary to load the information provided, taking into account the existing clones and configurations.

Callback functions: The callBack functions used to run custom codes before or after you add a clone to the form. So, for example, to set validation to forms cloned.

Nested forms: A person has multiple addresses and an address may have multiple phones. Nested forms can handle such complex situations

Pre-generated forms: SheepIt! can identify pre-generated clones at the html code and integrate them so as to handle them like the rest. This is very useful to interact with form frameworks as used in Symfony for PHP.

API to control the form from Javascript: The plugin exposes a number of methods for controlling the form using Javascript in the same way that the user controls in your browser.

sheepit's People

Contributors

g-alonso avatar mdelrosso 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.