Accept only alphabet and numeric entries

I want to input both alphabets and numbers but not include space (Example : EnergyDrink). I don’t know how to write. Please help me

I don’t see integers in your example. How would the integer be like?

Sorry, I want to input (Example: CO2). But not CO 2, which means I don’t need space between CO and 2, I need CO2.

Maybe try this as outlined in the image shared below and it should solve your issue:

In the survey tab of your XLSForm:

Data entry screen as seen in Enketo: when a space is in the entry

Data entry screen as seen in Enketo: when there is no space is in the entry

image

Reference XLSForm:

Regex (Alpha & Numeric).xlsx (10.2 KB)

Thank you so so much for your help.

1 Like