ODK Web Forms Beta - integer question shows 999999999 after attempting to type 10 digits

First of all, what is the official process/where should we report bugs in the new ODK Web Forms? Also, will there be a tag added to the forum soon to include Web Forms? Perhaps after beta testing is done?

1. What is the issue? Please be detailed.
With an integer question in ODK Web Forms beta, if a user enters a large quantity of digits and fills the box/enters a number longer than 9 digits, the integer turns to 999999999. Even if you delete the 10th character, it displays 9 repeating 9s.

2. What steps can we take to reproduce this issue?
Make a integer question, load it in the new Web Forms, and type a number longer than 9 digits

3. What have you tried to fix the issue?

4. Upload any forms or screenshots you can share publicly below.


After typing a 0 after the 9 it turns to this:

Thanks for trying the beta and giving feedback! Support posts just like this are perfect. You can use the odk-webforms tag.

In general, we strongly encourage using the text question type with numbers appearance when capturing a long string of numbers that's not going to be treated numerically (docs).

That said, I agree the behavior you encountered is not ideal and we'll revise it. We'll likely match Collect which simply prevents entering in a 10th digit. Web Forms is currently going to the highest number that can be represented with 9 digits.

I've also noticed unexpected behavior with the number text question type where the 17th digit and subsequent ones are turned to 0s. We'll look at fixing this as well!

1 Like