Is there a way to make a field required in Xtrata Pro Validation?
9092
QAID # 9092 Published
Question / Problem:
Is there a way to make a field required in Xtrata Pro Validation?
Answer / Solution:
Yes, there are two options to make a field required in Xtrata Pro Validation. One option will require the user to always validate the field, the other option will only require the user to validate the field if the field is empty. In both cases, the override function (CTRL + Enter) can be used by the user to bypass an empty field.
Option 1: User must always validate a field
- In Project Builder, go to the field you wish to always have validated.
- Go to the properties of the field.
- Check the option: 'Require manual field confirmation'.
- Save project and resynchronize the Batch Class in Ascent Capture Administration.
Option 2: User must validate if field is blank
Add the following to the script file:
Private Sub Validierung_Validate(pValItem As CASCADELib.ICscXDocValidationItem, _ ErrDescription As String, ValidField As Boolean) Dim Field As Object Set Field = pValItem If Field.ExtractionConfident Or Len(pValItem.Text) = 0 Then ValidField = False End If End Sub
Applies To:
Product | Version | Category |
---|---|---|
AXPRO | 3.0 | Validation |