VerifierFormLoad

This event triggers optionally in Designer before the Verifier form is loaded.

To trigger this event in Designer's Verifier Test Mode or Verifier Train Mode, enable Allow firing of VerifierFormLoad event when in Verifier Test/Train Modes in the Designer settings on the Compatibility tab.

You can use the VerifierFormLoad event for different purposes, including the following examples.

  • To switch verification forms between different types of classes
  • To optionally load a non-standard verification form in accordance with some parameters of the processed document.
  • To translate the content of verification forms dynamically into a language different from Windows Region and Language settings.
  • To load the required verification form according to the Windows Region and Language settings of the current system.
  • To default Verifier to display a specific page of a document instead of the first one.
  • To modify the form before it displays to the user.

Syntax

ScriptModule_VerifierFormLoad (pWorkdoc as ISCBCdrWorkdoc, FormName as String, FormClassName as String)
Parameter Description
pWorkdoc Reference to the currently processed document.
FormName Name of the form that Verifier loads.
FormClassName Name of the class that contains the verification form .

Sample Code

The following code example demonstrate how to replace the standard class name and the form name that Verifier loads.

Note: If the VerifierFormLoad event script handler is not implemented or the script assigns a non-existing class name or a non-existing form name, the application loads the standard verification form.
Private Sub ScriptModule_VerifierFormLoad(pWorkdoc as SCBCdrPROJLib.SCBCdrWorkdoc, FormClassName as String, FormName as String)
   Select Case UCase(FormClassName)
      Case "BASH"
         FormClassName = "Invoices"
         FormName = "Form_Invoices_2"
      Case "CONTACT"
         FormClassName = "Invoices"
         FormName = "Form_Invoices_1"
   End Select
End Sub

See also