I have an integer field that I use to store ISBNs. It worked fine in the past (in Drupal) but trying to add a new node of this type for the first time after upgrading my site to Backdrop, it complains upon trying to save with the message:
"Value must be less than or equal to 1000000" [i.e. 1 million]
When I look at the field config for this content type, it gives a different and much larger max value of 2147483647 (i.e. a bit over 2 billion).
Looking in the DB, there are many existing 10-digit values as well as quite a few (probably ISBN-13 values) that have been truncated to 2147483647.
So now I have 2 questions:
1. Obviously 10-digit values are a lot bigger than 1 million, so why is it now insisting that the values must be so small?
2. How can I fix it so that 10 and 13-digit ISBN values can be entered?
Thanks.
Like yourkshirepudding said, I don't think using a number field is a good idea, because of the limit and leading 0. I would use a text field, and use the module Field Validation to make sure all digits are numerical.