Thank you for your post!
«0» fails with error code «1 - FILEMAKER_RULE_NOTEMPTY».
I want the value «0» to be accepted, as the field is not empty.
I'm not seeing where you are having trouble. FileMaker does see "0" as a value and NotEmpty. The error code your received implies this. Also, if you run an IsEmpty(Field) on a field with "0" it will return 0/Fail meaning the field is NotEmpty.
Let me know if I'm missing something here.
Thank you for your answer!
I'm not seeing where you are having trouble.
I'm trying to require the field to have a value.
So by require «Not Empty» as validation:
I receive the error «1 - FILEMAKER_RULE_NOTEMPTY» because the field should be empty to pass to validation?
How is it then possible to require the field to have a value?
user28008 - it would be helpful if you could post a sample of the PHP code you are using - perhaps a simplified version that allows us to reproduce this, if you don't want to share the entire production code.