Example: Double-blind data entry

In this double blind example, Operator 1 can be a person or a recognition engine. If you use a recognition engine for the initial data entry, the recognition engine runs as a background process, in which case there is no user interface.

Table 1. Double blind example of data verification
  User Interface AltText [0] AltText [1] AltText [2] Alternative or blind text settings

Operator 1 (initial data entry)

1

1

   

Show other alt texts = -1 (hide alt text)

Blind confirm index = -1 (do not compare)

PropagateToAltText("1")

ClearAltText("0")

  1      

Operator 2 (initial state)

   

1

 

Show other alt texts = -1 (hide alt text)

Blind confirm index = -1 (do not compare)

Operator 2 (after data entry)

2

2

1

 

Show other alt texts = -1 (hide alt text)

Blind confirm index = -1 (do not compare)

PropagateToAltText("2")   2 1    
VoteFld()   2 1 2  

Operator 3 (initial state)

2 (1 )

2

1

2

Show other alt texts = 2 (show alt text)

Blind confirm index = 1 (compare)

Important: You specify the Show other alt texts value and the Blind confirm index value in the set.xml Webpage dialog for the task in Datacap Web Client.
In the preceding example, PropogateToAltText moves the initial data entry value (1) from AltText[0] to AltText[1], and ClearAltText removes the value from AltText[0]. Operator 2 enters a value of 2 and then PropagateToAltText copies the value of 2 from AltText[0] to AltText[3]. The VoteFld action sets the field status to '1' (problem) because AltText[0] and AltText[1] do not match, and AIndex highlights the field. Operator 3 can now do one of three tasks:
  • Accept the current AltText[0] value ('2').
  • Swap in and accept the AltText[1] value ('1').
  • Enter a new value twice. The new value becomes the new AltText[0] value.
The following table shows the result for each of these three actions.
Table 2. Results of the blind example actions
    AltText [0] AltText [1] AltText [2] Alternative or blind text settings
Operator 3

(accept AltText[0])

2 (1 )

2

1

2

Show other alt texts = 2   (show alt text)

Blind confirm index = 1   (compare)

Operator 3

(use AltText[1])

1 (2 )

1

1

2

Show other alt texts = 2   (show alt text)

Blind confirm index = 1   (compare)

Operator 3

(enter new data)

3 (1 )

3

1

2

Show other alt texts = 2   (show alt text)

Blind confirm index = 1   (compare)