I have create a sub form with an addInstance-feature. I also added a textbox and a numeric field. The text says Journey and the mumeric field is empty, but has a script to add +1. The result in the PDF is Journey 1 as title. When I click the + button, the new sub form gets the name Journey 2.
The result is Journey 3 - Journey 2 then Journey 1 while it has to be journey 1 - journey 2 -journey 3
Can anyone help to get this in the correct order? Or is there another way to add a counter in a title?
My goal is when I click the button the form should give me the title journey1 for the first, then i fill in the fields and when I click again he would need to give me Journey 2 for the second one which would be new empty fields. Now I have Journey 1 for the new added subform which is empty and journey 2 for the subform I have filled in first.