Edit post validation