Hello,
Currently on my form I have four columns and each column is labled Book 1, Book 2, Book 3, and Book 4.
I have a button to create a repeat subform and on the repeated subform I would like the columns to then change to Book 5, Book 6, Book 7, Book 8.
Is there a way to make this happen? I have my subform repeating, but I do not know how to change the instance of the numbers.
Thank you in advance!
Views
Replies
Total Likes
Hi,
perhaps I have a solution for a part of your problem.
You could use the following script in the calculate-event in a ceil/field of the first subform or tablerow.
this.rawValue="Book " + (this.parent.index +1);
Then increase the pdf automatically the number of the subform when you add a new one.
first subform = 1
second subform = 2
..
Let me think about it what we can do with your columns.
Kind regards
Mandy
Views
Replies
Total Likes
Hi Mandy,
Thank you for the reply! I did try the "this.parent.index +1". If on page one it says book 1....when i hit the button to repeat the subform...on the duplicated subform it then becomes Book 2, which is incorrect for what I need it to be. If this makes sense
Views
Replies
Total Likes
Hi,
I know. Therefore I wrote..let me think about..
This script is perfect, when you need one number per repeated subform.
I will think about the automatically numbering of the columns.
Views
Replies
Total Likes
Hi Mandy,
Thanks! Any help is appreciated!
Views
Replies
Total Likes
Ok, how about with dynamic columns?
I hope this will be helpful,
Mandy
Views
Replies
Total Likes
Awesome! I will try it out on my form and will let you know if I have any questions. Thanks for your help so far!
Views
Replies
Total Likes
It would be nice if you give me some feedback.
Views
Replies
Total Likes
Hi Mandy,
I private messaged you two days ago, did you get my email? If not, I can resend it.
Views
Replies
Total Likes
I saw no mail Perhaps spam?
Please resend.
Views
Replies
Total Likes
Hi Mandy,
I resent you the message. Please let me know if you get it or not.
Thanks
Views
Replies
Total Likes
Hello nele_sonntag,
I tried to create a form that uses your dynamic column scripts, but the form fails to generate the column additions.
Would it be possible to attach a PDF that contains your example so that I can identify where I made my mistake?
Really appreciated!
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies