Getty JavaScript Class back top fwd

Verifying one field against another

if (form.DoorCt[doorOption].value == "fourDoor" && 
form.sunroof.checked) {
    alert("The sunroof is only available on the two door model")
    return false
}