This will allow the user to enter the code only three times, then it will unload the form.
1 Submission by Bars
Beginner Intermediate Advanced Unknown Difficulty