Avatar

Level 10

Hi,

Here is an example of a single button that when clicked gives a pop-up menu where the user can select where they want to go. http://assure.ly/h4sIcQ.

Another example shows how you can build dynamic tables with Tables or Subforms (Table 6). http://assure.ly/gk8Q7a.

  1. You can use xfa.host.currentPage method or the xfa.host.setFocus() method on an object in the 4th section. See the help and examples.
  2. Again either of the two methods will work.
  3. Your form will need to be saved as a Dynamic XML Form. They layout for section 4 will need to be set to Flowed and you will need Add and Delete buttons. See these examples here: http://assure.ly/eSGQMt (Flowed/Positioned) and http://assure.ly/e2jR0C (expanding objects in flowed subforms).
  4. You would wrap all of the fields for one family member into a subform and then using the instanceManager (and +/- buttons) you would allow the user to create a new instance of the subform.
  5. If the subform is called my_sub_form_4, then each instance of this subform has its own instance number, using a zero based system. So my_sub_form_4[0], my_sub_form_4[1], my_sub_form_4[2], ... my_sub_form_4[n]. Data is stored in each field in its own subform.

Hope that helps,

Niall