HD Quiz

Need to send invoices?
Check out my new WordPress plugin HDInvoice
Limited time launch sale

I would like to add a question for a user to input their …

Published: May 16, 2020
Support status: closed

I would like to add a question for a user to input their email, and then use hooks to send the quiz results both to me and the user. I have installed Save Results Light, but I don’t see where I can use this information for this purpose. Thanks!

This thread has been imported from harmonicdesign.ca/hd-quiz/

thread author: Vincent Llora

Hi Vincent,
that functionality is not part of the Light version but will be part of the upcoming pro version.

You can, of course, code this in yourself. If you want to go that rout, then take a look at ./includes/functions.php of the save results light plugin to see how to queue up a submit call, and how you can use the data.

As for adding an email box before the quiz, you can use the hdq_before action to add any content you want before the quiz. So using this, I’d add an email input and some javascript. The JS would hide the quiz until a user has entered their email. Just some food for thought

17 May 2020 — 11:39 support admin - Dylan

If you are enjoying HD Quiz please leave a review here on the official WordPress.org page. HD Quiz is developed by me, just some dude, and is supported and available for free. It may seem dumb, but truly nothing makes me happier than knowing that people are using and loving HD Quiz and my hard work.

This thread has either been marked as complete or has been automatically closed due to inactivity.