ForceExternalValidFormDef(FormDefName As String)

Job object

This method can be used to inform FORMS which type of form is about to be identified. The method only has an effect when used in the JobFormIdentify event.

With this method it is possible to tell FORMS which form definition to use when trying to identify the form. Note that FormDefName must be the name of a form definition that is included in the current job description. The given form definition, FormDefName, is assigned to the form, whether or not FORMS recognizes the form.

If the ForceExternalValidFormDef method is used, then FORMS only tries the specified form definition at the identification step. If the form is identified, then the normal processing of the forms continues (fields are cut out and interpreted, etc.). If the form is not identified, the form status is set to Unidentified, but the form is still assigned to the FormDefName form definition. That is, the type of form is saved, but its status is still Unidentified.

In the Verify job description, the form status Unidentified must be selected. However, you do not have to select the form definition type before you begin to type the form data.

Remarks

This method is only for advanced users and only useful when you are sure which form type the current form is.

AddExternalValidFormDef

SetDefaultFormDef

GetFormDefName

The Job object