php treats 0 as basically empty/null. So when it's required and we check if it has a value, 0 is being treated as no value, so it thinks the field isn't filled in. I'll need to change some code to make it look for a value or 0 explicitly.