Return a "Pass" or "Fail" response based on % of correct answers in quiz.
I have a form which uses radio buttons for each series of questions. I have assigned a value of "1" to the correct response and "0" for the incorrect answers. I need to return a "Pass" or "Fail" response based on the percentage of correct answers. 80% and above = PASS, 79% and below = FAIL.
I have assigned a text box (Text1) to calculate the total of all answered questions, but I do not know how to use that value to come up with a percentage. I am thinking I need another text box (Text2) to run a custom calculation script against the value of Text1. This is where I am clueless as I do not know Javascript. Any help would be appreciated. Also, will Javascript be usable on any platform as I will no control over the end-user's device.