Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

...

Description

Collected values can of course be validated during posting, but sometimes you want the response to to instant.

Collector Step can be Online or Offline -validated. That is confirming the input is valid.


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.

  • Warn
    • Warn the user if an other value than the suggested is entered. Allowing the user to change it by accepting the prompt.

  • Block
      None
      • 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 

    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.

    ...