Update to whole-form validation, for tricks...
Now validator passes back the url from the database. Also fixed the set function.
Report errors via js