
Originally Posted by
Dave224
When creating an account, and the default country has zones, the zone pulldown appears for the customer to select one of the zones. If the customer changes the country to one without zones, a (" ") is written into the state input field. This has the effect of hiding the placeholder, which is the correct action. If you place the cursor in the field and delete the space character, the placeholder reappears, again the correct behavior.
I'm trying to find where in the code the space character is written into the state input field. I suspect it's somewhere in a javascript file since the form is not being processed yet in the server, but I can't find it. It's not in zen_addr_pulldowns.php as far as I can tell. I need the same code for a custom form I'm working on.
Can someone help?
Thank you.
Dave
zc1.5.8a bootstrap 3.7.7