Is there any way to specify appearance of String field to show Alphabet keyboard only.
For example a field to capture Respondent_Name will be a string field. I want to specify that no one should be able to enter 123 in that. Only alphabets A-Z or a-z should be entered. Can we use some attribute like we have appearance="numbers" for numbers.
By default only the default keyboard shows. You can use regex on a
constraint to only allow letters to be saved on swipe. Something like
regex(., '[A-Za-z]') would work.
Yaw
···
--
Need ODK services? http://nafundi.com provides form design, server
setup, professional support, and software development for ODK.
Is there any way to specify appearance of String field to show Alphabet keyboard only.
For example a field to capture Respondent_Name will be a string field. I want to specify that no one should be able to enter 123 in that. Only alphabets A-Z or a-z should be entered. Can we use some attribute like we have appearance="numbers" for numbers.