This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Popup shortcode component and Gravity Forms

  • Creator
    Topic
  • #20630
    mike-se
    Participant

    I have an issue with the popup component shortcode and Gravity Forms in JumpStart 2.x

    I have set up a Gravity Form for product questions. This will be triggered byt a button/text link.

    <div class="ask-a-question">[popup animate="false" text="Ask a question?" color="custom" size="default"]
    [gravityform id="2" title="false" description="true" ajax="false"]
    [/popup]</div>

    This works just fine, but only on the first instance on the same page. If I use the same code again later on the same page it won’t show the form. The popup is empty.

    If I remove the form shortcode and instead place regular text it works fine on all intances.

    I checked with Gravity Forms Support and they said to ask you.

    Any ideas here?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #20634
    Jason Bobich
    Keymaster

    Hi,

    I tested what you’re saying and all works fine on my end. Here’s what I did:

    … Everything works for me as expected. Maybe double check all your HTML on the page? Maybe you’ve got a missing ending DIV tag or some other sort of HTML hiccup in your content.

    #20642
    mike-se
    Participant

    Thanks Jason!

    Ok. so I finally seem to have figured out the problem.

    In my Gform I’m using conditional logic to filter out a products list:

    1. Product categories
    2. Products in above category

    If I remove the conditional logic everything works fine.

    #20643
    Jason Bobich
    Keymaster

    Ok glad you figured it out. For the next update, I also added a bit of Gravity Forms styling for some of the elements the don’t quite space out nicely and some of the advanced form elements.

    #20644
    mike-se
    Participant

    Thanks Jason!

    #20645
    mike-se
    Participant

    Btw, can I use an HTML-link to trigger a Vimeo iframe popup?

    I checked the documentation on http://dimsemenov.com/plugins/magnific-popup/documentation.html but could’nt get it to work using

    <a class="popup-vimeo" href="https://vimeo.com/45830194">Open Vimeo video</a>
    #20650
    Jason Bobich
    Keymaster

    Yeah, go to My Account > Downloads, and download the Jump Start user documentation. In the docs, there is a “Lightbox” chapter (or named similar), and it should have code snippets for linking to various types of media in a lightbox using HTML, and the classes the theme framework has binded all the javascript to. (nothing has changed from Jump Start v1 to v2 in this regard, I don’t think)

Viewing 6 replies - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.