Home › Forums › Quform WordPress › Submit Button Conditionally
- This topic has 16 replies, 6 voices, and was last updated 7 years, 12 months ago by Ally.
- AuthorPosts
- November 11, 2013 at 5:14 pm #7338danieltjohnstonParticipant
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.
November 12, 2013 at 12:08 pm #7348AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 12, 2013 at 3:00 pm #7356danieltjohnstonParticipantThanks 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”.
November 13, 2013 at 9:23 am #7360AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 14, 2013 at 8:28 pm #7397danieltjohnstonParticipantThanks 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).
November 17, 2013 at 10:28 am #7415AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 7, 2014 at 1:39 am #8117dmarzeanParticipantI 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…
January 7, 2014 at 2:03 am #8118josef777Participantchange the .iphorm-submit-wrap-1 to .iphorm-submit-wrap-3
February 4, 2014 at 10:10 am #8571urs.saxParticipantHello 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.
UrsFebruary 4, 2014 at 11:53 am #8593AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 4, 2014 at 4:26 pm #8609urs.saxParticipantHi
Below you’ll find the link:
http://victura.ch/bestellung-telefonansagen/
Until the customer has confirmed our terms, the button should be displayed.
Greetings
UrsFebruary 4, 2014 at 6:24 pm #8612AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 6, 2014 at 3:46 pm #8653urs.saxParticipantHello 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
UrsFebruary 7, 2014 at 10:17 am #8656AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
February 7, 2014 at 12:59 pm #8661urs.saxParticipantThank you.
Now it works perfectly.
Many thanks for the great support.
Regards
Urs - AuthorPosts
- You must be logged in to reply to this topic.