Name of Form field to PDF file upon Test completion of 80%

There use to be a system implemented on our website where someone would fill out their contact information, then take a test with 30 questions about our products. When they were done, if they got 80% or higher, they would receive a custom certificate automatically from our servers to their email they provided previously. OR to an address they fill in later.

Here is the quiz if you would like to see: certificate.hydropeptide.com

Anyway, what my problem is:

Before when you use to click Submit, it would total up your score, then give you a thank you message with your score and a picture of your certificate (if you passed) below that. Now all it does is go back to the beginning and give you the contact form again.

I can post the code so someone can maybe take a look at it if possible? PLease help me I’ve been searching for months trying to write my own code for this, but now I just wanna see if maybe its possible to revive?

What changed when it stopped working? Did you move server or move the PHP script? Please post your script (inside of code or php BB code tags - as shown in the IMPORTANT message above the text field used to create a thread or reply to one).

Thanks for the reply, but I solved this about a week after this post. The problem was my boss had wanted me to post a bunch new questions to the test, and the order of questions changed. I realized that after a couple days (very dumb) then changed the order, but I had the shortcodes for each question wrong. The questions being pulled from the test to compare the script to the test THEY took, it uses the Field name and I had a bunch of those wrong because I was guessing them based off the old questions.

I was not an experienced PHP coder, now I have Elementary PHP status.

Sponsor our Newsletter | Privacy Policy | Terms of Service