• Resolved amres1

    (@amres1)


    I’m testing survey maker now, and I want to trigger the popup after customized action, there is an option for on click event, but what i need is user will submit a form only after clicking on submit button and the form submission is successful to popup to survey

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support Jasmine

    (@hyenokian)

    Dear @amres1,

    Thank you for your topic.

    I would like to clarify that a popup survey can be triggered on exit, on click, or on load.

    Here are some helpful resources for you to better understand how it works:
    https://ays-pro.com/wordpress-survey-maker-user-manual#frag_popup_survey
    https://ays-demo.com/wordpress-popup-survey/
    https://www.youtube.com/watch?v=iPDbs0IuHHM&t

    Please review the resources and let us know if this is not what you were looking for or in case you have more questions.

    Thank you.

    Thread Starter amres1

    (@amres1)

    Thank @jasmine for your reply, I’ve tested the pop up as you shared with on click and on load, but I’m looking for more customization and only showing the popup when specific custom conditions are met, example: 1- user will fill a form, 2- user click on submit form, 3- the condition for popup is to show not only after clicking (on click) the submit form button but if the form submission is successful then popup survey should shown
    is there a way to do this customization from code level, instead of depending on the popup basic options in the plugin UI, I would do these conditions in code level and manually trigger the popup if the conditions are met?

    • This reply was modified 1 month, 3 weeks ago by amres1.
    Plugin Support Jasmine

    (@hyenokian)

    Dear @amres1,

    Thank you for the clarification.

    If we understand correctly, you would like a popup survey to appear after submitting a form from another plugin.

    In that case, we recommend reaching out to the support team of that plugin for customization, as the functionality would no longer be related to our plugin’s code.

    Feel free to let us know in case you have more questions.

    Thank you.

    Thread Starter amres1

    (@amres1)

    Dear @jasmine,

    my question is not about popup from another plugin, my question is about how can i have more control and be able to customize triggering of popup survey based on conditions beyond the options that is given in the plugin UI, one of ways to do that is from code side, but i need to know from survey maker plugin how can i call the trigger

    example pseudo code of what i want to do in the page source

    if (condition1 and condition2){

    trigger survey_popup()

    }

    • This reply was modified 1 month, 3 weeks ago by amres1.
    Plugin Support Jasmine

    (@hyenokian)

    Dear @amres1,

    Thank you for your topic.

    If you want to generate the survey popup code, it can be done via shortcode.
    You can use the following shortcode: [ays_survey_popup id=”YOUR_SURVEY_POPUP_ID”]
    Replace YOUR_SURVEY_POPUP_ID with the corresponding ID of your survey popup.

    You can then use do_shortcode() in PHP.
    For more details, you can refer to this link: https://developer.www.ads-software.com/reference/functions/do_shortcode/

    On our end, the functionality is added via PHP as an action to wp_footer.
    See the screenshot below:

    The logic is then created using JavaScript.
    For the JS part, you can refer to the following file:
    \public\js\survey-maker-public-popups.js

    This will help you integrate the logic and achieve the desired result.

    Feel free to let us know in case you have more questions.

    Thank you.

    Plugin Support Jasmine

    (@hyenokian)

    Dear @amres1,

    We’re closing this ticket for now as we last heard from you 1 week ago.

    If the query is unresolved, drop us a line and we’ll get back to you at the earliest and the ticket will be re-opened.
    For a new query, feel free to open a new topic. Our Customer Care Specialists will be happy to help you.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.