I created a very simple Expense Report form using Adobe Designer 7.0 and I'm not able to get the addInstance function to work. What I'm trying to do is have a button for my users to add additional line items. I have created a subform called "BasicInfo" with Type: Flow Content. Under this subform is another subform called "Items". The Items subform has the "Repeat subform for each data item" enable. I created a button with the following javascript: "item.instanceManager.addinstance(true);".
The button is not working. What am I doing wrong? Your help is appreciated.