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}} << 7 {{streamlen}} 8>> 9stream 10<template xmlns="http://www.xfa.org/schema/xfa-template/2.6/"> 11 <subform layout="tb" locale="en_US" name="form1" restoreState="auto"> 12 <pageSet> 13 <pageArea id="Page1" name="Page1"> 14 <contentArea h="10.5in" w="8in" x="0.25in" y="0.25in"/> 15 <medium long="11in" short="8.5in" stock="letter"/> 16 </pageArea> 17 </pageSet> 18 <subform h="10.5in" w="8in" name="subform2"> 19 <field name="f1" h="10mm" w="10mm" x="20mm" y="20mm"> 20 <ui> 21 <choiceList/> 22 </ui> 23 <items save="1"> 24 <text>aaaaaaaaaa</text> 25 </items> 26 </field> 27 <subform name="f4" x="1mm" y="1mm"> 28 <occur max="-1"/> 29 <field name="f2" h="350mm" w="200mm"> 30 <ui> 31 <choiceList textEntry="1"> 32 </choiceList> 33 </ui> 34 <items> 35 <text>Albania</text> 36 <text>Andorra</text> 37 <text>Armenia</text> 38 </items> 39 <event activity="change"> 40 <script contentType="application/x-javascript"> 41 a += 1; 42 if (a == 2) { 43 c = xfa.resolveNode("xfa.form..f1"); 44 xfa.host.setFocus(c); 45 d = xfa.resolveNode("xfa.form..f4"); 46 d.instanceManager.addInstance(1); 47 d.instanceManager.removeInstance(0); 48 xfa.host.openList(c); 49 } 50 </script> 51 </event> 52 </field> 53 </subform> 54 </subform> 55 <event activity="docReady"> 56 <script contentType="application/x-javascript"> 57 a = 0; 58 f2 = xfa.resolveNode("xfa.form..f2"); 59 f2.rawValue = "minhtttttt"; 60 xfa.host.setFocus(f2); 61 </script> 62 </event> 63 </subform> 64</template> 65endstream 66endobj 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 74