I need a form that includes a dropdown list with a 'months' list - once a month is selected subforms for that month plus the next 2 appear. This form will then be printed for clients to mark particular results on each date. Is this possible, and would the form have to be updated regularly to allow for changes to the months? Thanks.
this.resolveNode("MySubform.TextField1").rawValue = "February"; //adds to first new subform field
this.resolveNode("MySubform.TextField1").rawValue = "March"; //adds to second new subform field
Add this to a change event of a dropdownlist.
This is simple enough to do with the Action Wizard also.
1. Add Action to dropdownlist
2. Condition: When dropdownlist1 "textselected" is Jan
3. Result: Add a New Instance - select your subform - do this twice
4. Result: Set the Value of a Field - select the field you want the month, add the next month eg February, March - do this twice.
5. Click ok.
After it is done, simply edit the code to add  and  as shown above. this will insert text into the correct form.