Debian Codegraph @

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

raw
1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2 %
3 % CLEAR TEXT FIELD BUTTON
4 %
5 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
6 %!PS-Adobe-3.0 EPSF-3.0
7 %%BoundingBox: 0 0 90 30
8 %%EndProlog
9 [
10 /T (Text_Field_Clear_Button)
11 /Rect [0 0 90 30]
12 /Subtype /Widget
13 /F 4
14 /FT /Btn
15 /Ff 65540
16 /H /P % displays down position momentarily
17 /AP << /N {Clear_Up} /D {Clear_Down} >> % clear text in all fields
18 /Action <<
19 /Subtype /JavaScript
20 /JS(
21 var undefined;
22 function clearField\(inName\) {
23 var theField = this.getField\(inName\);
24 if \( theField != undefined \) theField.value = "";
25 }
26
27 for \(theCount = 1; theCount < 6; theCount++\) {
28 if \( "pageonefield"+theCount != undefined \) clearField\("pageonefield"+theCount\);
29 }
30
31 )
32 >>
33 /ANN pdfmark
34 %%EOF