You need to sign in to do that
Don't have an account?
Ashley Shealey
Custom Test Module - Apex Code not restricting users from editing test once final submit
We have a custom test module and once a user submits the test, it is supposed to lock the user out from re-taking or editing the answers. They have 2 options, "Save and Finish Later" and "Submit". Save and Finish Later allows them to come back (click the test link) and resume the test. Submit is supposed to generate a message that they already submitted the test if they try to click the test link again. It seems this is not happening for all users. I did notice the "User Ids" field is not holding all the User Id's for Users that have submitted the test. It keeps resetting and only holding like 10 User Ids at a time. Not sure if this is the problem. Can anyone detect anything in the code that would cause this to happen?
(It wouldnt let me paste the code for some reason)
(It wouldnt let me paste the code for some reason)