Select to view content in your preferred language

Using Caplock with mask in Survey123 how can we have spaces between words?

2792
11
03-21-2018 07:52 AM
DiegoLlamas
Esri Contributor

Hello,

I have been doing some test with caplock for my text fields in survey123. I was able to do it. 

In Esri:inputMask y add this symbol > and xxxxxxxxxxx for the quantity of letters we think we will be using

We write with spaces in survey 123

But when we see the info on a map we can see the info but with no spaces between them

If we open the survey we send we see the same behavior. No space between words

I asume it is because in Mask we do not have any space between x but we do not have control what the user is going to write, so, my question is How can we have caplock for words and respect the space we put on them? is it possible?

>PLEASESAYYES

Thanks for your help!

Diego Llamas

0 Kudos
11 Replies
LAM123
by
New Contributor

Thank you for this, the function seems to load fine but when I try to test the function in the Survey123 connect form (unpublished), nothing happens, and the text remains uncapitalised? 

 

Survey123 connect scripts.png

 

XLSForm.png

 

0 Kudos
LMedeirosUI
Occasional Contributor II

@LAM123 Did you test it in the script testing area of S123 Connect?

If it works there, then you'll need another field to output the calculate results to. The calculate function won't update the field it used to obtain information, it needs somewhere to output it to. See attached screenshots, zipped script, and XLS form.

0 Kudos