...
Excerpt |
---|
Mobile can validate follow planned a step input by using Regular expressions |
...
- Use "inputFormat" followed by a regular expression for what you want to achieve
- The expressed expression ^\w+$ will match only alfa-numeric values and therefore blocks special characters
- Use an online editor to test your regular expressions see Barcode converter - Regular Expressions
...
Code Block | ||||
---|---|---|---|---|
| ||||
<workflow id="receiveWorkflow" itemNumberAI="01,02,91"> <configuration scanBehaviourWhenRegisteringQuantity="ScanNextItem" fastForwardMode="InputAndScanValues"> <steps> <...> <lotNumber id="32" inputFormat= "^\w+$" header="@{RegistrationCollectorLotNumberHeader}" defaultValue="{LotNumber}" helpLabel="@{RegistrationCollectorLotNumberHelpLabel}" eanAi="10"/> <...> </steps> </configuration> </workflow> |
...
Result
If special characters are entered, an error stops the user.
...
Filter by label (Content by label) | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|