Mistři v programování na #hovnokod

JavaScript #1098

function formValidator(){
    // Check each input in the order that it appears in the form!
    if(isAlphabet(firstname)){
        if(isAlphabet(surname)){
            if(isAlphabet(surname)){
                if(ValidateDate(dob)){
                    if(isAlphabet(pgname)){
                        if(isAlphanumeric(Address1)){
                            if(isAlphanumeric(Address2)){
                                if(isAlphanumeric(Address3)){
                                    if(isAlphanumeric(Address4)){
                                        if(isAlphanumeric(Address5)){
                                            if(emailValidator(Email)){
                                                if(PhoneValidator(lan)){
                                                    if(PhoneValidator(mobile)){
                                                        if(Sessions()){
                                                            return true;
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    return false;
}

Anonymous,