I want to ensure that users can only enter 16 digits

Hi, I have a different case: I want to ensure that users can only enter 16 digits. Therefore, I’m using this regex pattern: regex(., ‘^\d{16}$’). It works as expected in a browser, but when I try it in a mobile app, it gets stuck, allowing a maximum of only 7 digits. I cannot enter more than 7 digits. Why is this happening?

Because you use an integer type. You would need to use a text type with appearance number.

Hint: Often the Help Center articles and/or the search function of this forum can provide help and examples, e.g.

1 Like

Got it, thanks

1 Like

@veentzy, :clap: :heart: :partying_face: