Skip to main content

Pre Post and Format Validation Script functions do not run on Hidden fields


QAID # 6609 Published

Question / Problem:

Why don't the Pre, Post and Format Validation Script functions run on Hidden fields?

Answer / Solution:

This is designed behavior: Pre, Post and Format functions in fact do not run for the Hidden fields in a Validation Script.

These functions are activated when a user enters or exits a field. If the field is marked Hidden, the fields are never entered, so the functions do not execute.

If you wish to work on the values in Hidden fields, you have to run your code in another function such as KfxLoadValidation, KfxUnLoadValidation, KfxPreDocument, KfxPostDocument, or one of the other

pre- or post-field functions for fields that are not Hidden.

Applies to:

Product Version
  • Was this article helpful?