![A text widget in Collect. The question text is "What is your middle initial?" The entered value is "Michael". Over the widget is an alert message: "Just the first letter."](../../../_images/constraint-message.png)
XLSForm
type |
name |
label |
constraint |
constraint_message |
---|---|---|---|---|
text |
middle_initial |
What is your middle initial? |
regex(., '\p{L}') |
Just the first letter. |
XLSForm
type |
name |
label |
constraint |
constraint_message |
---|---|---|---|---|
text |
middle_initial |
What is your middle initial? |
regex(., '\p{L}') |
Just the first letter. |