okay - you know how when you go to buy something online and you enter your billing info and then there is a section to input the shipping info. Nice sites let you do someting like check a box called "same as billing" if the two are the same so you dont have to reinput everything.
Im trying to get that effect but it has caused the following predicament: i have one form collecting billing and shipping info - in the middle of the form i have a checkbox called "same as billing". The action template recognizes if this is checked and simply assigns the billing values to the shipping fieldnames. The problem is this - on the form page, im using cfform elements to validate several of the billinng info fields BUT i cant use them on the shipping part of the form since, if the user checks "same as billing", it will stop the process and make the user enter shipping anyway.
Is there a way to tell the second half of the form to veriry only if the box in the middle of the same form is not checked?
Im trying to get that effect but it has caused the following predicament: i have one form collecting billing and shipping info - in the middle of the form i have a checkbox called "same as billing". The action template recognizes if this is checked and simply assigns the billing values to the shipping fieldnames. The problem is this - on the form page, im using cfform elements to validate several of the billinng info fields BUT i cant use them on the shipping part of the form since, if the user checks "same as billing", it will stop the process and make the user enter shipping anyway.
Is there a way to tell the second half of the form to veriry only if the box in the middle of the same form is not checked?