Converting Text To Upper Case on Mobile Phone

​Hello,
Please if someone has successfully converted text such as First name to
Upper Case on the Mobile Phone as it is being typed I would be grateful to
learn from you.

For example, I have two Text Questions (FirstName and Surname) and I want
whatever I type on the phone into those text boxes to appear in Uppercase
on the phone as I am typing irrespective of whether the phone’s keypad is
set to Caps or Lower case.

I tried upper-case(FirstName) and upper-case(Surname) but when I tried the
form in Cloud care it did not convert them.

On the same form, I have a Hidden Value question (Fullname) which has the
Calculate Expression: upper-case(concat(FirstName, " ", Surname)) and this
one works but I want the Individual fields to be converted so that it will
appear in the export as upper case.

Please help.
Yaw

Yaw,

As far as I know it is not possible to convert the letters in the text box
to upper case as you are typing them You can use the upper-case function to
convert that value to all capitals and save it to a hidden value; however,
the text box value itself will remain as it was entered.

You could also use a regular expression to enforce that the letters are
capital case in a validation condition; however, this would just prevent
the user from proceeding and not automatically convert the letters.

Cheers,
Will

··· On Thu, Jan 19, 2017 at 2:11 PM, YAW ANTWI-ADJEI wrote:

​Hello,
Please if someone has successfully converted text such as First name to
Upper Case on the Mobile Phone as it is being typed I would be grateful to
learn from you.

For example, I have two Text Questions (FirstName and Surname) and I want
whatever I type on the phone into those text boxes to appear in Uppercase
on the phone as I am typing irrespective of whether the phone’s keypad is
set to Caps or Lower case.

I tried upper-case(FirstName) and upper-case(Surname) but when I tried the
form in Cloud care it did not convert them.

On the same form, I have a Hidden Value question (Fullname) which has the
Calculate Expression: upper-case(concat(FirstName, " ", Surname)) and this
one works but I want the Individual fields to be converted so that it will
appear in the export as upper case.

Please help.
Yaw


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi William,
Thank you very much.

Yaw

··· On 21 February 2017 at 09:00, William Pride wrote:

Yaw,

As far as I know it is not possible to convert the letters in the text box
to upper case as you are typing them You can use the upper-case function to
convert that value to all capitals and save it to a hidden value; however,
the text box value itself will remain as it was entered.

You could also use a regular expression to enforce that the letters are
capital case in a validation condition; however, this would just prevent
the user from proceeding and not automatically convert the letters.

Cheers,
Will

On Thu, Jan 19, 2017 at 2:11 PM, YAW ANTWI-ADJEI yawantwiadjei@gmail.com wrote:

​Hello,
Please if someone has successfully converted text such as First name to
Upper Case on the Mobile Phone as it is being typed I would be grateful to
learn from you.

For example, I have two Text Questions (FirstName and Surname) and I want
whatever I type on the phone into those text boxes to appear in Uppercase
on the phone as I am typing irrespective of whether the phone’s keypad is
set to Caps or Lower case.

I tried upper-case(FirstName) and upper-case(Surname) but when I tried
the form in Cloud care it did not convert them.

On the same form, I have a Hidden Value question (Fullname) which has the
Calculate Expression: upper-case(concat(FirstName, " ", Surname)) and this
one works but I want the Individual fields to be converted so that it will
appear in the export as upper case.

Please help.
Yaw


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"commcare-users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to commcare-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello! I am wondering the same thing. Does anyone have another solution?

··· On Tuesday, February 21, 2017 at 4:09:05 AM UTC-5, YAW ANTWI-ADJEI wrote: > > Hi William, > Thank you very much. > > Yaw > ​ > > On 21 February 2017 at 09:00, William Pride <wpr...@dimagi.com > wrote: > >> Yaw, >> >> As far as I know it is not possible to convert the letters in the text >> box to upper case as you are typing them You can use the upper-case >> function to convert that value to all capitals and save it to a hidden >> value; however, the text box value itself will remain as it was entered. >> >> You could also use a regular expression to enforce that the letters are >> capital case in a validation condition; however, this would just prevent >> the user from proceeding and not automatically convert the letters. >> >> Cheers, >> Will >> >> On Thu, Jan 19, 2017 at 2:11 PM, YAW ANTWI-ADJEI <yawant...@gmail.com > wrote: >> >>> ​Hello, >>> Please if someone has successfully converted text such as First name to >>> Upper Case on the Mobile Phone as it is being typed I would be grateful to >>> learn from you. >>> >>> For example, I have two Text Questions (FirstName and Surname) and I >>> want whatever I type on the phone into those text boxes to appear in >>> Uppercase on the phone as I am typing irrespective of whether the phone's >>> keypad is set to Caps or Lower case. >>> >>> I tried upper-case(FirstName) and upper-case(Surname) but when I tried >>> the form in Cloud care it did not convert them. >>> >>> On the same form, I have a Hidden Value question (Fullname) which has >>> the Calculate Expression: upper-case(concat(FirstName, " ", Surname)) and >>> this one works but I want the Individual fields to be converted so that it >>> will appear in the export as upper case. >>> >>> Please help. >>> Yaw >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "commcare-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to commcare-user...@googlegroups.com . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "commcare-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to commcare-user...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >