Expand my Community achievements bar.

SOLVED

Problem in adding rows in a table

Avatar

Level 9

Hello All ,

I am having a strange problem in adding table rows here . All things seems to be in place . But when i click the button nothing happens . I have worked on much more complex tables and added rows safely but i cant understand what's happening here . I have saved the form as Dynamic XML form , interactive form , I have set the pagination of the repeating rows . But Heck !!! It's not working at all . I am totally confused . More over while i drag the table from the object palette an error appears and LC closes down .But when i click on the table at the toolbar and inserted table over there then it shows no error . What's happening ?? Any help is greatly appreciated .

Script : form1.Page1.Subform1.Button1::click - (JavaScript, client)
form1.Page1.Subform1.Table1.Row4.instanceManager.addInstance(1);

Thanks .

Bibhu.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi Bibhu,

The version I downloaded from Acrobat.com was saved as Static.

When I saved it as Dynamic in the file save as dialogue, it worked perfectly. https://acrobat.com/#d=*KWIuuYfTYgasrEr4ERRaw

Good luck,

Niall

View solution in original post

7 Replies

Avatar

Level 10

Hi Bibhu,

The script looks good. Did you set the containing subform to flowed?

Niall

Avatar

Level 9

Yes I did . I also marked Row4 as repeatble . Still there is no result.

I also tried with a alert to count the no.of instances . It returns counts starting from 2 . But I cant see the rows which are added . Are the rows invisible or what . I am totally confused .

Avatar

Level 9

How can I post the form here , so that you can have a look at the weird form ??


Avatar

Level 10

Hi,

The way you described reminded me of another thread, where the index was not straightforward: Saving finished Form duplicates some subForms

You can post your form to Acrobat.com, hit the Share and Publish buttons when prompted and then copy / paste the link here.

Niall

Avatar

Level 9

Here is the link to my form . Please go through it and suggest where do i Lack ??

https://acrobat.com/#d=bzG1Hdv0BrVwjcnOqyIKCw

Thanks.

Bibhu

Avatar

Correct answer by
Level 10

Hi Bibhu,

The version I downloaded from Acrobat.com was saved as Static.

When I saved it as Dynamic in the file save as dialogue, it worked perfectly. https://acrobat.com/#d=*KWIuuYfTYgasrEr4ERRaw

Good luck,

Niall

Avatar

Level 9

Thanks a lot Niall . How come I forgot a simple thing ??