I think I finally found something working as I want it , at least with the value I tried to enter on Enketo it works.
So, with a Decimal question, as a Validation Criteria/Constraint, I used .<500 and regex(.,’^(\d{0,3})(\.[0-9]{0,1})?$')
In that way, the maximum acceptable value is smaller than 500. It includes that there can be a maximum of 3 digits before the point, which is not really necessary as the maximum is 500, but it didn’t work if I took it away (I’m not familiar enough with regex yet). And it accepts either no or only 1 decimal digit.
Here the XLSForm:
OneDecimalDigit.xls (25 KB)
Do you see any problem with this solution?
Best regards