Debian Codegraph @

texmf-dist/doc/latex/interactiveworkbook/epsfiles/wrongfieldcorrect.eps

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %
3 % CORRECT ANSWERS ARE DISPLAYED IN TEXT FIELDS
4 % WHEN ON INCORRECT (WRONG) RESPONSE PAGE
5 %
6 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
7 %!PS-Adobe-3.0 EPSF-3.0
8 %%BoundingBox: 0 0 90 30
9 %%EndProlog
10
11 [
12 /T (Wrong_Field_Correct_Button)
13 /Rect [0 0 90 30]
14 /Subtype /Widget
15 /F 4
16 /FT /Btn
17 /Ff 65540
18 /H /P
19 /AP << /N {Answer_Up} /D {Answer_Down} >>
20 /Action <<
21 /Subtype /JavaScript
22 /JS(
23 var undefined;
24 function showRightAnswer\(inAnswerName, inCorrectName\) {
25 var theAnswerField = this.getField\(inAnswerName\);
26 var theCorrectField = this.getField\(inCorrectName\);
27 if \( theAnswerField != undefined \) {
28 theAnswerField.value = theCorrectField.value;
29 }
30 }
31
32 for \(theCount = 1; theCount < 6; theCount++\) {
33 if \( "pagethreefield"+theCount != undefined \)
34 showRightAnswer\("pagethreefield"+theCount, "fieldanswer"+theCount\);
35 }
36 )
37 >>
38 /ANN pdfmark
39 %%EOF