Introduction
A "collector step" can be Online or Offline validated During the registration - as opposed to during posting (always online).
Default behavior for a "collector step" is Offline validation, unless onlineValidation has been specifically implemented for the step.
When Offline simple field validation can be carried out using the validationWarningType attribute.
How to enable
Add the validationWarningType attribute to the relevant Workflow element.
The following options are
- None
- Allow the user to enter a different value than the one suggested.
- Allow the user to enter a different value than the one suggested.
- Warn
- Warn the user if an other value than the suggested is entered. Allowing the user to change it by accepting the prompt.
- Warn the user if an other value than the suggested is entered. Allowing the user to change it by accepting the prompt.
- Block
- Do not allow the user to enter a different value than the suggested value.
Limitations
- No connection to backend for advanced logic, like Online validation offers.
See also
The Standard workflow collector steps
- Lot number
- Serial number
- Quantity
From Bin
To Bin
Tote
- Customized collecter steps can be added
Example: Set Lot No. validation to "Warn"
In the example below, we set the Lot No. validation to "Warn" instead of default Block.
Meaning the user will be Warned, but not blocked from entering a different Lot No.
Modify the application.cfg file
Find and change the following line as described below.
<add id="32" name="LotNumber"inputType="Text" header="@{RegistrationCollectorLotNumberHeader}" label="'{LotNumber}'" helpLabel="@{RegistrationCollectorLotNumberHelpLabel}" eanAi="10" optional="false" primaryInputMethod="Scan" defaultValue="{LotNumber}" validationWarningType="Warn"/>
Note how the "validationWarningType" attribute is set to "Warn".