Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Adding

Avatar

Level 3

So first time user here so hold on. I am creating a form in Adobe, using the LiveCycle Designer. It has help files on creating a table and having it grow as data is entered. So I create a table and follow the steps but nothing happens. Not sure what I am doing wrong here.

CustomerTable.Row1.instanceManager.addInstance(1);

This is code for my button. It is place in the first data row of the table. I inserted a subform so that I could have to buttons there.

I labeled everything accordingly (my table is called 'CustomerTable'). When I go to previeiw or save it and open as a regular pdf i will not give me more rows to enter information in. Is this syntax wrong or am I just retarded today?

5 Replies

Avatar

Former Community Member

Check the form properties 'Preview' properties. It is not unusual to overlook setting the 'Preview Adobe XML Form As' a 'Dynamic XML Form'.

I have included a sample. Just in case.

Steve

Avatar

Level 3

I checked that. Which in the help file it said it was under 'Edit' when in fact it is under 'File'. But yes I have checked that. I have even opened a brand new blank form and just added the table and followed the steps. That way I knew it wasn't something I accidentally clicked. There must be a syntax error or something else I am missing.

Avatar

Former Community Member

Sorry. I missed the proverbial forest for the trees.Tables do not behave like sub-forms. To dynamically add rows using the Instance Manager, you must use a sub-form. Take a look at the sample I attached.

Avatar

Level 3

I cannot see any attachment. Sorry. I didn't think this was going to be the headache its turning into.

Avatar

Level 3

OH GOD! I am retarded. I was dragging the sub-form into the cell itself not encapsulating the entire table.....wow!