2 checkboxes required…

Home Forums Quform WordPress 2 checkboxes required…

This topic is: resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #34820
    Bijdageraad
    Participant

    Hello we made a form where two parts (of days) need to be selected. Is there a way to set it?
    Now it is possible to only check one and go on, but two must be the minimal choise..

    Text only is not enough sadly..

    Attachments:
    You must be logged in to view attached files.
    #34822
    Bijdageraad
    Participant
    #34828
    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.

    #34835
    Bijdageraad
    Participant

    Thanks we’ll try it out 😉

    #34836
    Bijdageraad
    Participant

    That did the job, also placed jQuery in it like this

    (jQuery(function ($) {
    var $checkboxes = $(‘.quform-field-1_3’).click(function () { if ($checkboxes.filter(‘:checked’).length > 2) { $(this).prop(‘checked’, false);
    return false;
    }
    });
    });)

    With the filter code it’s all i need to do? Seems to work fine 😉

    #34849
    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 6 posts - 1 through 6 (of 6 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