I want to validate some fields added by my plugin. But it's required to be validated in PHP, not in JS. So, when the user add/edit an item, i validate the fields and, if there is something wrong, i want to do the same as osclass does, like showing the message on the top of the page and return to item add/edit.