Hello
I have states enabled for the USA but for other countries it displays "The selected country doesn't require 'state' field". Does any one know what the best method would be to only show the "States" field when United States is selcted as the country and not show at all, (either on registration page or invoice) when any other country is selected?
I am thinking the following if statement should hide it for all countries but the United States.
Code:
{if $userinfo.b_country and $userinfo.s_country eq "US"} Code that displays states drop down field
{else}
{/if}
Would this code do the trick and which templates would I need to add this if statement to?
Thanks in advance.