Home › Forums › Quform WordPress › Button with link to form
- This topic has 13 replies, 3 voices, and was last updated 11 years ago by kraaitje.
- AuthorPosts
- December 30, 2013 at 9:32 am #7999kraaitjeParticipant
Hi there,
I purchased this nice plugin and also the u-design template. I want to create a button with a link to a form. Can someone please help me with the right syntax.
This works (form opens):
[iphorm_popup id=”3″ name=”Reactie marktplaats”]Ik heb interesse![/iphorm_popup]This works (default u-design button):
[custom_button text=”Custom Button” title=”Custom Button” url=”http://www.your-link-goes-here.com/” size=”medium” bg_color=”#FF5C00″ text_color=”#FFFFFF” align=”left” target=”_self”]What I need is the right combination between the button and the popup 🙂
Thanks!
December 30, 2013 at 3:26 pm #8004kraaitjeParticipantI tried this code but no luck: (my form ID = 3)
[custom_button text=”Ik heb interesse” link=”#form-3″size=”medium” bg_color=”#FF5C00″ text_color=”#FFFFFF”]
[iphorm_popup id=3][/iphorm_popup]<script type=”text/javascript”>// <![CDATA[
jQuery(document).ready(function ($) { $(‘a[href=”#form-3″]’).click(function () { $(‘.iphorm-fancybox-link-3’).click(); return false; }); });
// ]]></script>December 30, 2013 at 4:30 pm #8005josef777ParticipantTry it without the extra lines in javascript , it should work !
[custom_button text="Ik heb interesse" link="#form-3"size="medium" bg_color="#FF5C00" text_color="#FFFFFF"]
[iphorm_popup id="3" ][/iphorm_popup]
<script type="text/javascript">
jQuery(document).ready(function ($) {
$('a[href="#form-3"]').click(function () {
$('.iphorm-fancybox-link-3').click();
return false;
});
});
</script>
December 30, 2013 at 6:08 pm #8008kraaitjeParticipantNo luck 🙁 It jumps to the top of the page now.
- This reply was modified 11 years ago by kraaitje.
December 30, 2013 at 6:37 pm #8011josef777ParticipantCan you try it without the button shortcode just to see if the shortcode causing this , put a simple link with text like
- This reply was modified 11 years ago by josef777.
- This reply was modified 11 years ago by josef777.
- This reply was modified 11 years ago by josef777.
- This reply was modified 11 years ago by josef777.
Attachments:
You must be logged in to view attached files.January 2, 2014 at 12:14 pm #8035AllySupport 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 12:11 pm #8122kraaitjeParticipantno luck 🙁 Any other suggestions?
January 8, 2014 at 8:37 am #8126January 9, 2014 at 11:42 am #8145AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 13, 2014 at 8:08 am #8218kraaitjeParticipantHi Ally,
I have e-mailed you a copy of the template. Did you had time to test the code?
January 13, 2014 at 12:04 pm #8228AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 13, 2014 at 12:14 pm #8230kraaitjeParticipantno luck..
January 13, 2014 at 12:17 pm #8232AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 13, 2014 at 12:26 pm #8233kraaitjeParticipantit works, thanks 😀
- AuthorPosts
- You must be logged in to reply to this topic.