| Tom Sepez | 22d27c1 | 2019-07-19 22:06:19 +0000 | [diff] [blame] | 1 | {{header}} |
| 2 | {{include ../../xfa_catalog_1_0.fragment}} |
| 3 | {{include ../../xfa_object_2_0.fragment}} |
| 4 | {{include ../../xfa_preamble_3_0.fragment}} |
| 5 | {{include ../../xfa_config_4_0.fragment}} |
| 6 | {{object 5 0}} << |
| Lei Zhang | d0dc9bf | 2019-08-20 17:26:19 +0000 | [diff] [blame] | 7 | {{streamlen}} |
| Tom Sepez | 22d27c1 | 2019-07-19 22:06:19 +0000 | [diff] [blame] | 8 | >> |
| 9 | stream |
| 10 | <template> |
| 11 | <subform allowMacro="1" layout="lr" mergeMode="consumeData" name="subform_0"> |
| 12 | <pageSet name="page_0"> |
| 13 | <pageArea name="pagearea_0"> |
| 14 | <contentArea h="0.5in" w="0.25in" x="1.0in" y="10.0in"></contentArea> |
| 15 | <subform allowMacro="1" layout="table" mergeMode="consumeData" name="subform_1"> |
| 16 | <validate> |
| 17 | <script contentType="application/x-javascript"> |
| 18 | xfa.resolveNode("xfa.form.subform_0.subform_3.field_5").execCalculate(); |
| 19 | </script> |
| 20 | </validate> |
| 21 | </subform> |
| 22 | </pageArea> |
| 23 | </pageSet> |
| 24 | <subform allowMacro="0" layout="position" mergeMode="matchTemplate" name="subform_2"> |
| 25 | <field name="field_3"> |
| 26 | <items presence="visible" save="0"> |
| 27 | <text>a</text> |
| 28 | <text>b</text> |
| 29 | <text>c</text> |
| 30 | <text>d</text> |
| 31 | </items> |
| 32 | <ui> |
| 33 | <numericEdit hScrollPolicy="on"></numericEdit> |
| 34 | </ui> |
| 35 | <validate> |
| 36 | <script contentType="application/x-javascript"> |
| 37 | xfa.template.remerge(); |
| 38 | </script> |
| 39 | </validate> |
| 40 | <value override="0"> |
| 41 | <text>37</text> |
| 42 | </value> |
| 43 | </field> |
| 44 | </subform> |
| 45 | <subform allowMacro="0" layout="tb" mergeMode="matchTemplate" name="subform_3"> |
| 46 | <bind match="dataRef" ref="a"></bind> |
| 47 | <field name="field_5"> |
| 48 | <bind match="dataRef" ref="a"></bind> |
| 49 | <calculate> |
| 50 | <script contentType="application/x-javascript"> |
| 51 | xfa.resolveNode("xfa.form.subform_0.page_0.pagearea_0.subform_1").leader = "test"; |
| 52 | app.alert("Finished !!!"); |
| 53 | </script> |
| 54 | </calculate> |
| 55 | <items presence="invisible" save="0"> |
| 56 | <text>254</text> |
| 57 | </items> |
| 58 | <ui> |
| 59 | <choiceList commitOn="select" open="multiSelect" textEntry="0"></choiceList> |
| 60 | </ui> |
| 61 | </field> |
| 62 | </subform> |
| 63 | </subform> |
| 64 | </template> |
| 65 | endstream |
| 66 | endobj |
| 67 | {{include ../../xfa_locale_6_0.fragment}} |
| 68 | {{include ../../xfa_postamble_7_0.fragment}} |
| 69 | {{include ../../xfa_pages_8_0.fragment}} |
| 70 | {{xref}} |
| 71 | {{trailer}} |
| 72 | {{startxref}} |
| 73 | %%EOF |