Forcing the usage of the validation function inside the applications global variable