I have a true/false field on a custom post type. The statement can only be true on 1 post in this CPT at a time.
Any idea how I would set that up?
Bonus points if you can show me how to display a custom error message when the admin user tries to select true again on a second post.
Thanks.
Thanks John. I will try this asap.