Click here to Skip to main content
16,019,843 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a button on a form that I use to commit the data and then redirect to another page.

What I am hoping to have is to be able to calculate the data before it redirect to another page.

so here's the condition for example :

there's three question, if user click next button, every answer store in a list named answer, i have calculated column named markanswer, every right answer stored is 1, if it's wrong it's 0, at the end of the page (question), i would like to have it stored the answer of last question then calculated when i clicked button finish then redirect, could it be possible?

so the action like this : commit the data -> then calculate all markanswer that has been submited then stored it in a column named score -> redirect to another page
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900