I am working with an ASPX web application. Basically there is a page that has 2 forms that have almost all of the same from inputs. I would like for a way to have a checkbox that once it's clicked, it would call some javascript code (or whatever you guys suggest, it has to be client side only though) to auto-fill the second form with the inputted information from the first form. Keep in mind not all form inputs match on both forms.
Really all I'm trying to do is exactly what some websites do when you purchase something and you have to input your shipping address as well as your billing address, then it asks if your billing address is the same as your shipping address next to a checkbox, and once the checkbox is clicked, the billing address form gets auto-filled with the information from the shipping address form.
This is all done from the same page, so it should be simple. I am not good with javascript, but I don't mind doing it with it.