Added validation on post_submit (server side)