Hi,
Can anyone help me with the problem below:
the selected radio button determines if they are from the US or a different country.Depending on that you should enter zipcode or postalcode.The problem is that if they type in values for both postalcode and zipcode,both values are inserted into the DB which is not the solution wanted.
Actually only the selected radio button values should be inserted by saving the toggle state of it and the rest should be ignored even though the user entered in both of them.
<cfform action=
Can anyone help me with the problem below:
the selected radio button determines if they are from the US or a different country.Depending on that you should enter zipcode or postalcode.The problem is that if they type in values for both postalcode and zipcode,both values are inserted into the DB which is not the solution wanted.
Actually only the selected radio button values should be inserted by saving the toggle state of it and the rest should be ignored even though the user entered in both of them.
<cfform action=