Home › Forums › Quform WordPress › Quform Popup after clicking on button
- This topic has 12 replies, 3 voices, and was last updated 11 years, 2 months ago by Ally.
- AuthorPosts
- November 17, 2013 at 3:36 pm #7427AureliusParticipant
Hello,
I am using Quform. If I see it correct there is the direct way to implement Quform directly on a page or by clicking on a text (=opening a popup). I would love to see a button opening such a popup.
There are button shortcodes provided by the theme. Like [button]content[/button]. But I can not combine these to elements… the shortcode button and quform-popup.
So what do you thing would be the best solution?
Btw.: I am only a wordpress beginner.Thank you very much!
BenjaminNovember 18, 2013 at 6:14 pm #7434tampalabParticipantHi Benjamin,
This can be your solution. Please take a look.
I am also wondering how I can use my own theme button shortcode as submit button.
Thanks
November 19, 2013 at 9:29 am #7447AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 19, 2013 at 10:54 am #7453tampalabParticipantHi Ally,
Thank you for response but I am using submit button conditionally as you mentioned on this post:
This is JavaScript at end of the form. How can I use this two java script together.
<script>
jQuery(document).ready(function ($) {
$(‘.iphorm_1_2,.iphorm_1_3,.iphorm_1_4,.iphorm_1_5’).change(function () {
if ($(this).val() === ”) {
$(‘.iphorm-submit-wrap-1’).hide();
} else {
$(‘.iphorm-submit-wrap-1’).show();
}
});
});
</script>Thank you
November 20, 2013 at 10:18 am #7467AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 20, 2013 at 12:31 pm #7479tampalabParticipantHi Ally,
I added as you mentioned below but logic condition is working but submit button is not changed.
This is what I added:
<script>
jQuery(document).ready(function ($) {
$('.iphorm_1_2,.iphorm_1_3,.iphorm_1_4,.iphorm_1_5').change(function () {
if ($(this).val() === '') {
$('.iphorm-submit-wrap-1').hide();
} else {
$('.iphorm-submit-wrap-1').show();
}
});$('a[button size="medium" style="primary" text="Send" link="#submit"]').click(function () {
$(this).closest('form').submit();
return false;
});
});
</script>This is short code of my theme button:
[button size="medium" style="primary" text="Medium button" link="http://"]November 20, 2013 at 12:37 pm #7480AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 20, 2013 at 12:52 pm #7481tampalabParticipantHi Ally,
I guess I couldn’ t get it how to place these codes to form. Could you please explain how I can set the button shortcode to form.
Thank you.
November 21, 2013 at 9:10 am #7493AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 21, 2013 at 10:03 am #7494tampalabParticipantHi Ally,
I did it but it is not working. this is how it looks. “www.gelinga.com/satis-yap
If you want, I can send you login details.
Thank you
- This reply was modified 11 years, 2 months ago by tampalab.
November 21, 2013 at 10:17 am #7496AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 21, 2013 at 11:08 am #7502tampalabParticipantNop, still not working. Submit button still appears at the beginning.
But I enabled conditional logic of HTML element so button only appears if stated variables are selected.
For now everything is good.
Thank you
November 21, 2013 at 11:11 am #7503AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.