Remove duplicate element form

Home Forums Quform WordPress Remove duplicate element form

This topic is: not resolved
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #21367
    chrisjavdi
    Participant

    Duplicating a text field in the form is
    Add another
    <script>
    jQuery(document).ready(function ($) {
    var $field = $(‘.iphorm_1_1’);
    $field.attr(‘name’, $field.attr(‘name’) + ‘[]’);

    $(‘#add-another’).click(function () {
    var $clone = $field.clone();
    $clone.val(”).css({ display: ‘block’ }).appendTo($field.parent());
    return false;
    });
    });
    </script>

    To remove that duplicate item through a button?

    Thank you

    #21385
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #21470
    chrisjavdi
    Participant

    As duplicate a group quform?

    #21477
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy