Hi there, this is my first time to the forums. I need help for some form coding in PHP (or if someone can suggest a different way to do it, such as Javascript, that would be fine).
I have a form that is split into two parts. The first part is shipping info, the second part is billing info. These parts consist of a few text boxes, and one drop down list each. The two parts are preceded by one checkbox. This checkbox simply says, that if you want the billing info to be the same as the shipping info, click on it.
What I need to figure out is simple (which is why I'm too dumb to figure it out). I need to make it so that if the first part is filled out, and the checkbox is checked, the second part of the form will mirror the first part. All the fields are exactly the same, except with different "name" attributes, to differentiate them when the form is processed.
Any help with this would be greatly appreciated. Thanks!!