Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

adding a row to a table with a button

Avatar

Level 5

Good day all;

I think I have now lost it... ;>))

LifeCycle Designer 8.05

Anyway, If the user of the form requires additional rows to enter infoamtion, I want them to be able to add a row using a button. I have tried using the following

"

Table"N".Row2.instanceManager.addInstance(1); ="N" is the table name.

I have done this on a couple of other forms but I must be missing something as I am geting the following error in the java Consol

"GeneralError: Operation failed.

XFAObject.addInstance:1:XFA:form1[0]:#subform[0]:#subform[1]:Button1[0]:click

The element [max] has violated its allowable number of occurrences."

The form is saves as a Arcobat 8 Dynamic XML form

I

Page 1 is flowed

Subform is flowed

Would someone be so kind as to point me in the right direction.

Thanks all

Chomp

1 Accepted Solution

Avatar

Correct answer by
Level 10

You possibly forgot to set the row to be reapetable.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

You possibly forgot to set the row to be reapetable.

Avatar

Level 5

Thanks Radzmar;

You were correct.... It appears I was only looking at the bindings for the damn table not the row.......

Thanks again