Php String Loop Through Object Jquery Validation