Items are now mostly ajax. You can use errors.js wich can generate messages for you.