• Resolved maximaal

    (@maximaal)


    Hello,

    I am trying to automatic populate a gravity form field in de overlay but it doesn’t work.
    The shortcode placed in the popup maker looks like this:
    [gravityforms id=1 field_values=’event_name={merge_tag}’]
    The populated field output is {merge_tag} instead of the value that needs to be the merge-tag.

    Thanks

    https://wordpress.org/plugins/popup-maker/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @maximaal – I am not sure that merge_tags work in that way. Their docs don’t show any field_values examples using that. If they do then the problem would actually be in Gravity Forms and how they are processing the shortcode, seems something is going wrong. But I think its more likely that merge tags can’t be used there as they are not defined until after the form is submitted.

    Best bet is to reach out to Gravity Forms support as the issue doesn’t seem related to Popup Maker.

    Hope that helps.

    Thread Starter maximaal

    (@maximaal)

    Thanks for the feedback.
    Without popup maker so placing the form into a page it works. Even wit multiple mergetags as field_values.
    Is there a sort of “inline style” to place the content of the overlay? So instead of placing the content off the page.

    Thanks.

    Plugin Author Daniel Iser

    (@danieliser)

    @maximaal – You can use the shortcode [popup id=”test”] Content here [/popup]

    And then

    [popup_trigger id=”test”] Click Me [/popup_trigger]

    Or

    <span class="popmake-test"> Click Me </span>

    Hope that helps.

    Thread Starter maximaal

    (@maximaal)

    Thanks, will give those a try!

    Thread Starter maximaal

    (@maximaal)

    @danieliser

    Yes, this is working!!

    The only thing is now I want to style the popup overlay.

    [popup id=”test”] content [/popup]
    [popup_trigger id=”test” tag=”button”] CLICK [/popup_trigger]

    When I am using:
    [popup id=”test”] content [/popup]
    [popup_trigger id=”test” tag=”button” class=”popmake-157″] CLICK [/popup_trigger]

    The overlay becomes empty.
    So can I combine content inline with a certain overlay style/theme?

    Thread Starter maximaal

    (@maximaal)

    @danieliser

    update: I am using/changing the default theme option which is working except for the “CLOSE” button. Although I set it to a custom text and Top-right it keep at the bottom and a “deafult cross”.

    Plugin Author Daniel Iser

    (@danieliser)

    @maximaal – Not sure, have not seen that before. If you want to submit an issue on our github with some screenshots I would be happy to take a look.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘gravity forms dynamic populate field’ is closed to new replies.