Hi there, I need my survey to show a summary of results once people complete it, and then I need it to open to another exercise in a new tab (so people can refer back to their results to complete the exercise).
Can you help me figure out what HTML/CSS I need to use to add a button to the Results page that says “Click here to open exercise in a new tab”?
I tried simply adding a link but it doesn’t stand out enough.
In addition, is there a way to remove the submission count from the results summary? It looks confusing to have a little number 1 show up in the corner of the short answer questions.
Thank you for your help!
The page I need help with: [log in to see the link]
Working on this a little more I am realizing another option could be to add the results to the page with the exercise, and redirect people there after they complete the survey. However, I was confused by the instructions to do that here: https://ww.wp.xz.cn/support/topic/results-show-on-a-different-page/
I want to note that we have a redirect option that you can use to send the user to your desired webpage after submissions. You can customize it to your needs. Just make sure to enable the “Redirect to the new tab” option. See the screenshot below:
As for the filter, it’s intended for developers to add a uniquecode at the end of the redirect URL. Using this filter, they can retrieve submission data on that page via PHP. For example, the URL would look like this: https://example.com/(uniquecode)
<<In addition, is there a way to remove the submission count from the results summary? It looks confusing to have a little number 1 show up in the corner of the short answer questions.
Regarding this, if we understand you correctly, and if you mean the highlighted part in the screenshot, this feature allows you to track unique responses to text-based questions. See the screenshot below:
If a user answers a question in a unique way (meaning their response is distinct), and you’re interested in seeing how they answered the other questions in the survey, you can click on this to view the specific submission.
However, if you’d prefer to hide this, you can use the following CSS code. Add it to the “Custom CSS” section in your Theme and see if it works for you.
Thank you for your quick response! However, I’m confused about the URL filter. How do I set it up? Could I use Code Snippets to add the code? I don’t understand how adding (uniquecode) at the end of the URL would apply the filter.
In case I can’t get it to work, is there a way I can add a custom button to the Results page?
Then, in the redirected page, use the following code: apply_filters(‘ays_survey_get_submission_results’, ‘if_false’)
Please note that this is a Pro feature. So, please contact us via this form for premium support. Our customer care specialists will always be happy to help you. Commercial products are not supported in these forums.
When contacting us via email, please let us know which version you are using so we can further investigate your case, as it’s working properly on our end.
<In case I can’t get it to work, is there a way I can add a custom button to the Results page? As for this question, I want to note that yes, it’s possible.
You can use the “Thank You Message” option. You can either use the options provided by the editor to customize it and achieve the desired result, or you can switch to the Text Tab in the editor and write your own HTML to get the button you want.