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."

XLSForm

surveyΒΆ

type

name

label

constraint

constraint_message

text

middle_initial

What is your middle initial?

regex(., '\p{L}')

Just the first letter.

Did this page help you?

Selecting an option will open a 1-question survey

πŸ‘ Yes πŸ‘Ž No