Expand my Community achievements bar.

Creating an instance using a button

Avatar

Level 2

I have created a 7 different subforms each consisting of a DDlist and a few text fields. I have associated a button to each different field. When I push a button I would for the associated subform to appear at the top of the page (not in the position where the subform was origionaly created). If I push the button more than once I would like for the corresponding subform to appear multiple times.

how do I do this?

I set my main page to flowed and set my number of instances to 0

1 Reply

Avatar

Level 10

Hi,

Once the addInstance has fired, you would need a loop to go through the number of instances and move the instance up to the top. Check out the help file for moveInstance. 

Good luck,

Niall