anathanson
Starting Member
31 Posts |
Posted - December 04 2008 : 16:09:43
|
On the shopcustomer.asp page during checkout, I want to remove the "None" option from the state drop down list. I'm guessing it is controlled by the shopstates.asp code, but not quite sure where to alter it so that "none" is not presented as an option.
Any suggestions on what code to alter/remove? It wasn't clear if none meant "not yet selected" or if it was the choice in the dropdown list.
Thanks,
Alex |
|
madbug
VP-CART New User
130 Posts |
Posted - December 13 2008 : 02:53:33
|
Hi Alex,
You will need to amend the code in "shopstates.asp", but I strongly suggest that don't remove it, because it might causing some issue on the tax by states. Also if customer from other states which did not list in the drop down, they cannot select the None for the state.
If you wish to remove the None state, please open shopstates.asp
Around line 34-36: stateabbrev="None" statename="None" response.write "<option value=""" & stateabbrev & """ " & selected & ">" & statename & "</option>" & vbcrlf
modify it to:
stateabbrev="None" statename="None" 'response.write "<option value=""" & stateabbrev & """ " & selected & ">" & statename & "</option>" & vbcrlf
|
|
|