Start a new topic
Answered

Mandatory Form Fields

Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.


Best Answer

Yes.
I would recommend the following:

  • Check the Mandatory checkbox on the attribute and choose the appropriate Mandatory Validation Scope: Pre-consolidation and/or Post-consolidation if you need the validation to also occur during the job certification (for source data), None if you just need the validation to be checked during user authoring.
Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.
  • Check the On Data Change and On Form Open checkboxes in your step Form Validations for the associated "MANDATORY" validation:
Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.

This makes the field appear in red with the associated Error Message during authoring, like this: 

Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.
  • Select the appropriate On Step Exit value in the Step Transition Validation, if you prefer the user to be Blocked or just Warned if he still does not comply with your validation when exiting the step:
Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.

This makes an error popup appear like the following. The user can continue if you chose "Warn" and cannot continue in case you chose "Block":

Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.
1 Comment

Answer

Yes.
I would recommend the following:

  • Check the Mandatory checkbox on the attribute and choose the appropriate Mandatory Validation Scope: Pre-consolidation and/or Post-consolidation if you need the validation to also occur during the job certification (for source data), None if you just need the validation to be checked during user authoring.
Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.
  • Check the On Data Change and On Form Open checkboxes in your step Form Validations for the associated "MANDATORY" validation:
Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.

This makes the field appear in red with the associated Error Message during authoring, like this: 

Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.
  • Select the appropriate On Step Exit value in the Step Transition Validation, if you prefer the user to be Blocked or just Warned if he still does not comply with your validation when exiting the step:
Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.

This makes an error popup appear like the following. The user can continue if you chose "Warn" and cannot continue in case you chose "Block":

Mandatory Form Fields  Is it possible to define a form field as a mandatory field? If user edit data, he can not forget to fill a field.
Login to post a comment