8.0
© 2009 ABBYY. All rights reserved.
33
9. Add the Day, Month, and Year fields to the Fields list by clicking Add. In the Result field field, select the Fill-
in date field. Use dots as separators.
We set up the check if the date in the Fill-in date field lies within the specified time interval. The check will now
be performed for the value received by merging the values of three fields.
This completes the step for creating fields and static elements on the form and for specifying their properties.
Please make sure that you have created all of the necessary elements and specified their properties correctly.
If, after the template matching, you are not satisfied with the recognition results or if some of the elements are
located incorrectly, you can always return to template editing and change the marking or properties of the
necessary fields.
4.3.5. Creating a template for a multi-page document
ABBYY FlexiCapture 8.0 Professional allows you to create templates for multi-page documents. A
template can consist of any number of sections, and each section may contain one or multiple pages.
When creating a multi-page document template, you must specify the sequence of sections, their total
number, and the rules for assembling pages into documents.
Once the Template Creation Wizard has finished, a simple template containing no sections is created.
You can add pages to the template. When you add a page, its image is added to the image area in the
Template Editor window, and all fields created on the page will be represented in the total list of fields.
In this case a document consists of one section, which may contain multiple pages.
If the document contains fields or tables which continue on the next page, or repetitive blocks, you must
add pages to a single section. The same method is used when loading a multi-page flexible description
(see Setting Up the System for Processing Flexible Documents
). All fields of a flexible description must
belong to a single section of a document template.
An alternative method is to add sections to a template. In the simplest case one section contains a single
page. This method can be used if the field sets on pages are independent. This method also makes the
document structure easier to understand because you can see to which section fields belong and you can
specify a structure for document assembly. For example, your document may contain 3 pages, with the
1
st
and 3
rd
pages occurring only once but the 2
nd
page repeating between 2 and 5 times. Here you need to
create a separate section for each page and then specify the document structure, i.e. the sequence and
number of reiterations of the sections.
A more complicated example would be a template consisting of several sections where some of these
sections contain more than one page. This could be a template consisting of fixed sections and a flexible
multi-page section, or a template describing documents containing a double-sided page that repeats
several times. Let’s assume that we need to create a template for a document containing a title page
(page A) and some two-side pages (page sequence BCBC…). We create Section A containing page A,
and Section BC containing two pages, B and С. The document then has the following structure: Section
A repeats once, and is then followed by Section BC which may repeat, for example, between 3 and 7
times.
If a template consists of multiple sections, you can not only specify the sequence and the number of
reiterations of the sections but also set up the key fields check. To do this, you must specify key fields in
each of the document sections. The values of these key fields must be identical. If the name of the
person who fills out the form appears on every page of the document, you can use it as a key field.
Alternatively, you may use an identification number.
When processing batches, the program tries to assemble successive pages into documents and checks
assembly rules. The values of key fields are checked at this stage. If key fields within a document are
not identical, an error message will be displayed. This can sometimes happen if the pages were mixed up










