Php Loop Through Object Properties Jquery Validation