Support » Plugin: Meta Box » Number validation in custom post type
3 years ago
I have a project where I have added a couple of number fields to a custom post type and notice that no validation occurs.
If I use demo.php to add the demo fields to a normal post validation occurs on those.
So I changed demo.php to show the metaboxes on the custom post type (changing nothing else) but number field validation does not occur when the demo fields are added to the custom post type.
How do I hook up the validation to the custom post type?