Documentation v8.0.28

Preview Purchase
FormValidation creates an interface to add and remove a repeatable group of input elements. For more info see the official Github repository.

Basic Example

$('#kt_docs_repeater_basic').repeater({
    initEmpty: false,

    defaultValues: {
        'text-input': 'foo'
    },

    show: function () {
        $(this).slideDown();
    },

    hide: function (deleteElement) {
        $(this).slideUp(deleteElement);
    }
});
<!--begin::Repeater-->
<div id="kt_docs_repeater_basic">
    <!--begin::Form group-->
    <div class="form-group">
        <div data-repeater-list="kt_docs_repeater_basic">
            <div data-repeater-item class="form-group row">
                <div class="col-md-3">
                    <label class="form-label">Name:</label>
                    <input type="email" class="form-control mb-2 mb-md-0" placeholder="Enter full name" />
                </div>
                <div class="col-md-3">
                    <label class="form-label">Number:</label>
                    <input type="email" class="form-control mb-2 mb-md-0" placeholder="Enter contact number" />
                </div>
                <div class="col-md-2">
                    <div class="form-check form-check-custom form-check-solid mt-2 mt-md-11">
                        <input class="form-check-input" type="checkbox" value="" id="form_checkbox" />
                        <label class="form-check-label" for="form_checkbox">
                            Primary
                        </label>
                    </div>
                </div>
                <div class="col-md-4">
                    <a href="javascript:;" data-repeater-delete class="btn btn-sm btn-light-danger mt-3 mt-md-8">
                        <i class="la la-trash-o"></i>Delete
                    </a>
                </div>
            </div>
        </div>
    </div>
    <!--end::Form group-->

    <!--begin::Form group-->
    <div class="form-group mt-5">
        <a href="javascript:;" data-repeater-create class="btn btn-light-primary">
            <i class="la la-plus"></i>Add
        </a>
    </div>
    <!--end::Form group-->
</div>
<!--end::Repeater-->

Explore Metronic

Metronic Licenses

License FAQs
Regular License
For single end product used by you or one client
$ 39
Extended License
For single end product with paying users.
$ 939
Custom License
Reach us for custom license offers.
Buy Now

Metronic Demos

demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon
demo
Coming soon