Expand my Community achievements bar.

addInstance does not work with image field

Avatar

Former Community Member

I set up a dynamic form with a repeatable subform (checked that) containing an image field, then i placed a button that should add another instance of the subform containing the image field. But it just won't do.

Any suggestions? If needed, i could email the form for inspection.

BR ia

2 Replies

Avatar

Level 2

Hi,

I had a go with an Image Field in a subform and got the button to add other instances by using "_subform.addInstance();" on the JavaScript click option, with the subform binding set up to Repeat Subform for Each Data Item.

Greig

Avatar

Former Community Member

Thx Greig - i used ur suggestion too. But the main problem was very different, simple an - ehhhm - stupid. One of my colleagues saved the PDF as static. As soon as I re-saved it as dynamic PDF it all worked just fine