The challenge with this approach is that although the user will not be
able to proceed if he/she has entered lower case text they will still be
able to insert lower case text and they will have to explicitly select
uppercase letters while typing. This may be inhibitive or counterproductive.
Why not convert to upper case text post data capture if you require it to
be uppercase.
Bashir
From: opendatakit@googlegroups.com [mailto:opendatakit@googlegroups.com]
*On Behalf Of *Mokpokpo ADJEODA
Sent: 17 July 2014 03:36 PM
To: opendatakit@googlegroups.com
Subject: [ODK Community] Re: How to use Uppercase text only in ODK
Hi Antonio,
type
name
label
constraint
text
hh1
Your name
regex(., "^[A-Z]{1,15}$")
Le jeudi 17 juillet 2014 10:17:42 UTC, Antonio Niquisse a écrit :
Hi Mokpokpok,
Thank you for your reply.
I forgot to say that I am using XLSForm. Therefore, I have included the
code you sent but it does not give any effect.
Is that code suit for XLSForm environment?
Best regards,
Antonio.
On Thursday, July 17, 2014 11:45:06 AM UTC+2, Mokpokpo ADJEODA wrote:
Hi Antonio,
Answer must beuppercase letters and between 1 and 10 characters long for
example
constraint= regex(., "^[A-Z]{1,15}$")
http://opendatakit.org/help/form-design/binding/
Le jeudi 17 juillet 2014 09:00:46 UTC, Antonio Niquisse a écrit :
Dear Community,
I am the beginner in ODK environment and I am developing a database to
collect information in health area.
My question is: How can I only allow to include uppercase only in text
type to avoid case sensitivity during data collection? For example, in the
name of the facility, name of the patient, etc.
I am looking forward to hear from you.
Best regards,
Antonio.
--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups..google.com/group/opendatakit?hl=en
http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
http://www.avast.com/
This email is free from viruses and malware because avast! Antivirus
http://www.avast.com/ protection is active.
--
Post: opendatakit@googlegroups.com
Unsubscribe: opendatakit+unsubscribe@googlegroups.com
Options: http://groups.google.com/group/opendatakit?hl=en
You received this message because you are subscribed to the Google Groups
"ODK Community" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to opendatakit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.