gauntletxg
Technical User
Hello all, this is my first post and I am in need of some assistance. I am relatively new to javascript and am struggling to figure out how to populate fields dynamically.
I currently have a basic form in HTML which is used to gather contact information from customers. There are six fields on the left side for the actual customer (name, email, phone, etc.), and there are the same six fields on the right side in case the customer has a different person that we should contact, such as a customer relations expert or a sales representative. On the right side, I would like to have a tickbox for 'same as left side', and when the user checks this box the fields are dynamically populated with the information entered in the left side. I would like to have these fields remain editable in case the user wants to input the same information but change one field, such as a phone number.
i am really stumped, and i think i've gone as far as i can with searching through google and various forums. any help would be greatly appreciated. thanks so much!!
I currently have a basic form in HTML which is used to gather contact information from customers. There are six fields on the left side for the actual customer (name, email, phone, etc.), and there are the same six fields on the right side in case the customer has a different person that we should contact, such as a customer relations expert or a sales representative. On the right side, I would like to have a tickbox for 'same as left side', and when the user checks this box the fields are dynamically populated with the information entered in the left side. I would like to have these fields remain editable in case the user wants to input the same information but change one field, such as a phone number.
i am really stumped, and i think i've gone as far as i can with searching through google and various forums. any help would be greatly appreciated. thanks so much!!