Survey123: Body::esri:inputMask for a text field for names of people

1407
2
11-17-2017 03:55 AM
DouglasRonoh
New Contributor

Hi,

What is the character for blank spaces between words? Say you want to bind users to input only alphabetic characters for names of individuals in a text field but have the names separated by a blank space.

I have tried putting this bind expression: 'Aaaaaaaaaaaaaaaaaaaaa'

in the body::esri:inputMask field but the result is the names of individuals without spaces e.g 'MarkBalwin' rather than 'Mark Balwin'

Douglas

0 Kudos
2 Replies
JamesTedrick
Esri Esteemed Contributor

Hi Douglas,

You would probably want Axxxxxxxxxxxxxxxx instead to allow for spaces.

0 Kudos
JerrySneary
New Contributor III

Hi @JamesTedrick ,

Is there an input mask for a First and Last name in the same field?

I am currently using ">A<x!xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" This allows me to capitalize the first letter and after the second letter it is optional to use capital letter again. I am hoping that there is a way to capitalize the first letter of every word without using multiple fields.

0 Kudos