Changes to add validator class to posted vars