Modifying a form rule

 

Form Rules management enables users to define specific, automated behaviors within K Inventory forms, offering adaptability for each company’s business processes.

 

This feature is not available on the Mobile version.

 

1. In the menu on the left of the screen, click on Settings then on Form rules.

 

List of form rulesList of form rules

 

2. Click on the Modify icon of the form rule you wish to update.

 

3. In Information, you can modify the Form rule name :

  • Form rule name
  • Select the type of form
  • Select whether the form rule is Activated or Disabled

 

For the moment, only the Quick Update form is configurable. Other form types will soon be customizable.

 

You can also enable or disable a form rule using the Status.

A form rule in status Deactivated will no longer be applied; you can re-enable it later.

 

4. In the Conditions tab section Conditions tab, modify the information previously filled in when creating the form rule:

  • Field: Field selection field on which the form rule will be based
  • Selection of application criteria
  • Definition of the value to be applied

 

5. Go to Actions to be carried out, modify the actions previously entered, so that they are applied if the criteria defined in section Conditions section are validated:

  • Type of action : selection of the action to be carried out if the criteria are validated
  • Field : Field in which the action will be carried out
  • Value : Value to be updated (not applicable if action type is Empty field)

 

List of available action types :

  • Display an error
  • Make field mandatory
  • Hide field
  • Empty the field
  • Make the field read-only

 

In the example below, we’re going to update the form rule to dynamically display or not the “Project” field in relation to the value of the “Project mode?” field.

 

6. Go to Informationfill in the information required to modify your form rule:

  • Form rule name : Dynamic display of Project field
  • Trigger action : Quick update
  • Form rule status : Activated

 

Modify - Form rule Dynamic display of project field - informationModification of the form rule

 

7. In the Conditions tab section Conditions tab, fill in the information needed to define the criteria for applying the form rule:

  • Select the relevant field: Project mode ?
  • Criteria selection : Equal to
  • Value applied : Yes

 

8. Go to Actions to be carried out, section, enter the actions to be taken if the criteria defined in the Conditions section are validated:

  • Type of action : Display error
  • Field : Project
  • Value : The Project field is mandatory

Modification - Form rule Dynamic display of project field - ConditionsModification of form rule conditions

 

9. To check that the form rule has been correctly applied, click on Quick updateto select a folder and the appropriate form.

 

Modification - Form rule Dynamic display of project field - VerificationResult of automatic display of error message in Project field

 

In the example below, we’ll set up a new form rule to make the Description field mandatory if the Status field value is “In transit”.

 

6. Go to Informationfill in the information required to modify your form rule:

  • Business rule name : Empty Description field after transfer
  • Trigger action : Quick update
  • Form rule status : Activated

 

Modification - Empty the Description field after a transfer - informationCreating a form rule

 

7. In the Conditions tab section Conditions tab, fill in the information needed to define the criteria for applying the form rule:

  • Field selection: Status
  • Criteria selection : Contains
  • Value applied : In stock

 

8. Go to Actions to be carried out, section, enter the actions to be taken if the criteria defined in the Conditions section are validated:

  • Type of action : Empty field
  • Field : Description
  • Value: No action required

 

Modification - Empty the Description field after a transfer - ConditionsCreating form rule conditions

 

9. To check that the business rule has been correctly applied, click on Files and open the relevant reference file.

 

Modification - Empty the Description field after a transfer - Checks Description field check

Dynamic display of the Project field

In the example below, we’re going to update the form rule to dynamically display or not the “Project” field in relation to the value of the “Project mode?” field.

 

6. Go to Informationfill in the information required to modify your form rule:

  • Form rule name : Dynamic display of Project field
  • Trigger action : Quick update
  • Form rule status : Activated

 

Modify - Form rule Dynamic display of project field - informationModification of the form rule

 

7. In the Conditions tab section Conditions tab, fill in the information needed to define the criteria for applying the form rule:

  • Select the relevant field: Project mode ?
  • Criteria selection : Equal to
  • Value applied : Yes

 

8. Go to Actions to be carried out, section, enter the actions to be taken if the criteria defined in the Conditions section are validated:

  • Type of action : Display error
  • Field : Project
  • Value : The Project field is mandatory

Modification - Form rule Dynamic display of project field - ConditionsModification of form rule conditions

 

9. To check that the form rule has been correctly applied, click on Quick updateto select a folder and the appropriate form.

 

Modification - Form rule Dynamic display of project field - VerificationResult of automatic display of error message in Project field

 

Display a customized error message

In the example below, we’ll set up a new form rule to make the Description field mandatory if the Status field value is “In transit”.

 

6. Go to Informationfill in the information required to modify your form rule:

  • Business rule name : Empty Description field after transfer
  • Trigger action : Quick update
  • Form rule status : Activated

 

Modification - Empty the Description field after a transfer - informationCreating a form rule

 

7. In the Conditions tab section Conditions tab, fill in the information needed to define the criteria for applying the form rule:

  • Field selection: Status
  • Criteria selection : Contains
  • Value applied : In stock

 

8. Go to Actions to be carried out, section, enter the actions to be taken if the criteria defined in the Conditions section are validated:

  • Type of action : Empty field
  • Field : Description
  • Value: No action required

 

Modification - Empty the Description field after a transfer - ConditionsCreating form rule conditions

 

9. To check that the business rule has been correctly applied, click on Files and open the relevant reference file.

 

Modification - Empty the Description field after a transfer - Checks Description field check

To continue browsing, here are a few articles related to this page: