trying to get two responses from one button click on quiz in Java

  • 1
  • Question
  • Updated 7 years ago
  • Answered
Hey everyone
I have just created a quiz on my website using a vert simple java code I found online (I say simple but I could never have created it though!) When the user clicks a button, it reveals their score. I was wondering if there was a way that the clicking of the button would reveal the score and also send me the results of either the individual answers or the final result or both - could anyone help me with this?
If you need anymore information please ask and I will tell you more
Many thanks
Photo of al

al

  • 2 Posts
  • 0 Reply Likes
  • sad

Posted 7 years ago

  • 1
Photo of al

al

  • 2 Posts
  • 0 Reply Likes
This is the code I have been trying to modify so that when the button is clicked not only does the user get the score but also i am emailed through yola (in a similar way to the contact form) with the result

input type="button" value="Get score" onClick="getScore(this.form)
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi al,

You may want to post your request here for help with your request.