Is there a way to have a checkbox determine if fields in a form auto populate?
I usually keep billing and shipping addresses seperate but I was trying to think of a way to condense it down so I was thinking would it be possible to have a checkbox that is if shipping is same as billing it would auto populate the billing address for use as the shipping address for an order but that leads me to another question I was thinking that my order table would then have to contain this shipping address but only if different from the customers billing address... Since I do have customers that use multiple shipping addresses...
or is there a better way to do this?
I usually keep billing and shipping addresses seperate but I was trying to think of a way to condense it down so I was thinking would it be possible to have a checkbox that is if shipping is same as billing it would auto populate the billing address for use as the shipping address for an order but that leads me to another question I was thinking that my order table would then have to contain this shipping address but only if different from the customers billing address... Since I do have customers that use multiple shipping addresses...
or is there a better way to do this?