Avatar

Level 1

Thanks much for the help. Still not able to clear the list box. Can you verify that I entered correctly?

<?templateDesigner expand 1?></subform>

         <field name="ResetButton1" y="82.55mm" x="117.475mm" w="28.575mm" h="6mm" relevant="-print">

            <?templateDesigner isResetFieldsObject true?>

            <ui>

               <button highlight="inverted"/>

            </ui>

            <font typeface="Myriad Pro"/>

            <caption>

               <value>

                  <text>Reset Form</text>

               </value>

               <para hAlign="center" vAlign="middle"/>

               <font typeface="Myriad Pro"/>

            </caption>

            <border hand="right">

               <?templateDesigner StyleID apbx2?>

               <edge stroke="raised"/>

               <fill>

                  <color value="212,208,200"/>

               </fill>

            </border>

            <bind match="none"/>

            <event name="event__click" activity="click">

               <script contentType="application/x-javascript">xfa.host.resetData(); ListBox1.ClearItems();</script>

            </event>

         </field>

         <?templateDesigner expand 1?></subform>