How to change post cpt with submit button?

How to change post cpt with submit button?

error code: 523