Q: Make it impossible to save a custom post type with both video and image selected? I have a custom post type, which creates a slide. I can select if I want to have an image or a video, with two different buttons. If I select both of them it will still save, but the background will show up. How do I make it impossible to save/publish if both an image and a video is selected?
I don't really know what code to provide, as it is code in the post-details.php file + functions.php and the javascript-files.
Is there any easy way to prevent this?
