Need Assistance with JavaScript Code
Hi,
I am creating a form in which I need assistance creating a JavaScript calculation.
Section 1 - I have a section of the form in which there are four (4) fields to enter data for a specific customer:
- Name
- Address
- Phone
There are four areas to enter this information (Customer 1, 2, 3, and 4).
On the next page, in Section 2, there is a similar format requesting the same type information. In some cases, the information being entered may have already been entered for a customer in Section 1. Ordinarily, in MS Word, we would copy and paste, but there is not a way to copy and paste multiple fields for the end user.
I would like to setup a drop down menu with options to automatically prefill in Section 2.
Example: In Section 2, I can select "Customer 2" from the drop down menu and the same data I entered in Section 1 will appear in the fields for Section 2. However, as I previously said, it is possible that the customers being entered in Section 2 would be completely different than Section 1 - so there would need to be some sort of override.
Is this something possible to do? If so, could someone share some kind of code that would do this? I am a beginner when it comes to JavaScript, so I would really appreciate any help.
