Spawned pages and form fields
- April 21, 2024
- 1 reply
- 1381 views
Hello,
I'm fairly new to javascripting and using teh spawn templae feature. I'm having some trouble with fields on teh spawned pages and could use some advice/help.
My proplem is that I have a form I created (page 1 and 2 are identical for two-sided printing). My desire is to have a button to spawn page 2 into page 3, 4, etc. as many times as needed. Each page has fields at the very top (FROM, TO, MDS, Serial number) that need to repeat on each added page from page 1. the button with script I created does that just fine. The problem I run into is that all other feilds (JCN, Date DISC, Discrepancy, Discovered by (print) and Employee No. (3 copies on each page)) on the form need to be independent and not repeat the same data in same position on subsequent added pages. What is happening is that my added pages are duplicating the data in those fields from page 2, which is not what I want.
I've searched the forums for help and have gotten some clues to fix some issues I have had, but I have not been able to get the results I need concerning the form fields. Can anyone provide some assisance? It will be greatly appreciated.
Thanks
Hawg1
