I would like to restrict the input into my text field as follows:
- exactly 6 characters, with each of these characters to be only numbers (0-9)
(I can do the same if I change the field to 'integer', except that the integer field will NOT take leading zeros as part of the 6-digit number - for example, 012345 is not a 6-digit number)
Hi George,
Have you tried using an input mask, you can find more information here: Esri custom columns—Survey123 for ArcGIS | ArcGIS
Also some other others in GeoNet have posted about using input masks and leading zeros: https://community.esri.com/message/831863-re-integer-field-is-truncated-when-the-survey-is-saved-the... and Integer Field in Survey123 does not allow more than 9 digits and https://community.esri.com/thread/217821-why-are-integers-now-limited-to-9-digits?commentID=784563#c... and Remove commas from Integer field type. There are lots of other posts and even workaround for input mask and leading zeros if you want to have a more in depth search.
Phil.
Thanks, Phil.
I'll check it out.
-- Suresh