Added form custom validation