Help with programming | XM Community
Skip to main content

Help with programming


I am programming a survey for a research study and need to create a Withdrawal from survey button. I created the button no problem but we also want to have a confirmation check to ensure people aren't accidentally clicking the button. So either, a pop up appears when they hit the button that says " You hit the end survey button, are you sure you want to terminate your participation in this study" or it takes them to a new page to confirm. I can't figure out how to get it to do a popup from a button or take me to a new location. We have some money, not much, to pay someone to help. Any bids appreciated. Thank you!

2 replies

mklubeck
Level 3 ●●●
Forum|alt.badge.img+8
  • Level 3 ●●●
  • 233 replies
  • May 4, 2020

I don't think you need to pay...I think you may just want to loosen your requirements. Would you be happy with - they click the button and a notice comes up with a WARNING you are about to end your survey. Please confirm you want to end your survey. With a button that says ' "Oops. NO take me back" and one that says, "Yes, I'm sure - END MY SURVEY"
If they click oops, you take them back to the survey where they left off.
If they say YES, you end their survey.
IF this is acceptable, you can do this within the tool using the Survey Flow, branching, etc. you can even have them start over at the beginning using a retake link if you like (so they can exit the survey and if they choose oops, send them back in)
Happy to show you how without programming or being paid.


rondev
Level 6 ●●●●●●
Forum|alt.badge.img+22
  • Level 6 ●●●●●●
  • 1449 replies
  • May 4, 2020

You can use jquery custom dialog box plugin for this.


Leave a Reply