The process is as below:
User1 fills FormA --> Submits
User2 reviews/edits Form B --> Submits
FormB is nothing but exactly same as FormA with additional fields.
E.g. FormA
Week Start Date: 11/01/2016
Monday: 11/01/2016 <script>
Tuesday: 12/01/2016 <script>
Wednesday: 13/01/2016 <script>
Thursday: 14/01/2016 <script>
Friday: 15/01/2016 <script>
Saturday: 16/01/2016 <script>
Sunday: 17/01/2016 <script>
The logic here is based on Week Start Date selection, dates for entire week should popup automatically.
FormB:
Values from FormA are passed on to FormB. We have managed to do this using "Variables".
The fields and logic remain the same, but user in FormB can edit this values e.g. changes week start date to 04/01/2016 instead. Then the scripts are failing as the field ID have changed in FormB.
So how can we duplicate fields & scripts of FormA to create FormB with some additional fields specific to FormB?
Please Note: We have around 30 fields in the form with some complex calculations and logic. Using "class" doesn't seem to be a good option as we have found it work in few cases and doesn't in few cases.
I would appreciate any suggestions or work around on achieving this? I am happy to share more information in case required for better understanding.
Thank You
Dhruv Shah