Submit Button Conditionally

Home Forums Quform WordPress Submit Button Conditionally

This topic is: resolved
Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #7338
    danieltjohnston
    Participant

    Is there a way to show/hide the Submit button based on conditional logic. I’d like to force the user to select a certain drop down value before the Submit button is shown. Is this possible?

    Thanks.

    #7348
    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.

    #7356
    danieltjohnston
    Participant

    Thanks for your help.

    Here’s a link to the form:
    http://johnstonsafetysupply.com/contact/

    I’d like the send button to be hidden if the “Select Your Topic” dropdown is equal to “Select Your Topic”.

    #7360
    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.

    #7397
    danieltjohnston
    Participant

    Thanks for your help. That works well, but there is one issue.

    When I load the form via this parameter that I have set…

    http://johnstonsafetysupply.com/contact/?topic=Quote

    …the send button doesn’t display. Is there a way to make it display if I load the page via that link (with the “Request a Quote” option automatically selected in the drop-down through the link setting).

    #7415
    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.

    #8117
    dmarzean
    Participant

    I am having issues duplicate this. I am using this code:

    <script>
    jQuery(document).ready(function ($) {
    $('.iphorm_3_31').change(function () {
    if ($(this).val() === '') {
    $('.iphorm-submit-wrap-1').hide();
    } else {
    $('.iphorm-submit-wrap-1').show();
    }
    }).change();
    });
    </script>

    iphorm_3_31 is my drop down…

    #8118
    josef777
    Participant

    change the .iphorm-submit-wrap-1 to .iphorm-submit-wrap-3

    #8571
    urs.sax
    Participant

    Hello Ally

    When do you think you integrate this function? (show/hide submit button)

    “…There is nothing built in for this at the moment, but we are planning to add support for this in a future version….”

    Thank you for your feedback.
    Urs

    #8593
    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.

    #8609
    urs.sax
    Participant

    Hi

    Below you’ll find the link:

    http://victura.ch/bestellung-telefonansagen/

    Until the customer has confirmed our terms, the button should be displayed.

    Greetings
    Urs

    #8612
    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.

    #8653
    urs.sax
    Participant

    Hello Ally

    Thank you. Unfortunately, there is a problem. If the customer has entered a wrong information (has forgotten to enter sth.) in the contact form the button disappears.

    Please Try it under:
    http://victura.ch/test-quform/

    Do you know the solution to our problem?

    Greetings
    Urs

    #8656
    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.

    #8661
    urs.sax
    Participant

    Thank you.

    Now it works perfectly.

    Many thanks for the great support.

    Regards
    Urs

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