Hide "Submit" button

Home Forums Quform WordPress Hide "Submit" button

This topic is: resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15711
    gordonbrow
    Participant

    I would like to hide the submit button on the following page until the check box is selected:
    http://www.laserhealthsolutsion.com/products/traumeel/
    I found the following script in the forums and changed the ID’s to match my form but no luck when I added it to the form (HML)

    <script>
    jQuery(document).ready(function ($) {
    function checkConditions()
    {
    if ($(this).is(‘:checked’)) {
    $(‘.iphorm-submit-wrap-4).show();
    } else {
    $(‘.iphorm-submit-wrap-4’).hide();
    }
    }

    var $checkbox = $(‘.iphorm_4_13’);
    $checkbox.click(checkConditions);
    checkConditions.call($checkbox[0]);
    });
    </script>

    I’ve enabled the element wrapper & conditional logic check boxes in the HTML box if that makes a difference.

    What am I missing?? I suspect that there is a place to hide the Submit button but I haven’t been able to find it.

    #15712
    gordonbrow
    Participant

    I had a fresh look and found an old post that said to put “display: none;” in the global outer wrapper. That resolved it.

Viewing 2 posts - 1 through 2 (of 2 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