Giter Club home page Giter Club logo

repeatable_form_elements's Introduction

Custom form element "Repeatable container"

This TYPO3 extension adds a custom form element "Repeatable container" to the TYPO3 form framework. It displays one/ a set of fields which can be duplicated and removed if desired. Any existing validation is copied as well. All form finishers will be aware of the copied field(s).

Installation

Copy the extension folder to \typo3conf\ext\ , upload it via the extension manager or add it to your composer.json. Add the static TypoScript configuration to your TypoScript template. Make sure, jQuery is available in the frontend. We have tested with TYPO3 v8 and v9 and jQuery v2.2.4.

Usage

Open the TYPO3 form editor and create a new form/ open an existing one. Add a new element to your form. The modal will list the new custom form element "Repeatable container".

Add the desired fields with the favored validators to the "Repeatable container".

The frontend will render the "Repeatable container" as fieldset. In addition to the included form elements it will display buttons for copying/ removing new sets of fields.

State of development

This extension is still in beta phase. Right now, a bunch of people are testing the implementation. Some parts still need some love. Do not use in production right now.

Credits

This TYPO3 extension was created by Ralf Zimmermann (https://www.tritum.de).

Thank you

Nora Winter - "Faktenkopf" at www.faktenhaus.de - sponsored this great extension. The fine people at www.b13.de connected all the people involved.

repeatable_form_elements's People

Contributors

mbrodala avatar sabbelasichon avatar tritum avatar waldhacker1 avatar

Watchers

 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.