Hi Everyone
I need a help , how I can increase the numeric field character restrictions to 14
Currently it is not accepting more than 10 characters
Cheers !
Neeraj
Hi Everyone
I need a help , how I can increase the numeric field character restrictions to 14
Currently it is not accepting more than 10 characters
Cheers !
Neeraj
Hi @caneeraj,
You could do the same as outlined in the image below:
In the survey tab of your xlsform:
Data entry screen as seen in Enketo: When a wrong entry is made
Data entry screen as seen in Enketo: When a correct entry is made
Reference xlsform:
Number (Regex).xlsx (10.2 KB)
For details, please feel free to have a look at our support article Restricting Text Responses With Regular Expressions.
Have a great day!
Hi @Kal_Lam
i tried this but it is not working i am able to enter more than 15 charater in this
please help me to review the form as enclosednewodcollection2.xlsx (12.6 KB) .
Cheers !
Neeraj
Hi @caneeraj,
Maybe you should replace your regex
from regex(., ‘^\d{15}$’)
to regex(., ‘^\d{14}$’)
in order to control the entry to 14
numbers.
Have a great day!
HI @Kal_Lam
actually the problem as i wrote above is that i am able to enter even 20 characters with this, although minimum is restricted to 14
please review the form if possible
Cheers !
Neeraj
Hi @caneeraj,
Could you let us know the browser or android app that you are using? Would also appreciate if you could share with us a screenshot of the same.
Have a great day!
Hi @caneeraj,
FYI, this is the sample of the screen shot that i get while testing …
your xlsform that you shared (which works fine at my end) …
Reference xlsform:
newodcollection2.xlsx (8.7 KB)
Have a great day!
Hi @Kal_Lam
Thanks for helping
perhaps there was some updation issue , it is now working fine.
thanks for helping
Cheers !
Neeraj