Just know that this is out there somewhere:

// JavaScript Document

//verify redirect
function verifySubmit(){
//get a handle on the form and check terms and conditions is selected , if not raise something
var cb = document.getElementById('termsandconditions')
if (cb.checked == true)
//the box is checked , redirect user to access controller
window.location = ""


if (cb.checked == false)

//the box is not checked , do not redirect user to access controller



  • 2
    Mixing double quotes and single quotes should be a criminal offense.
    Also using cb for checkbox and not the universal CALLBACK UGGGGGHHHH
Your Job Suck?
Get a Better Job
Add Comment