-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

please submit a patch.
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices
http://docs.ofbiz.org/display/OFBADMIN/Coding+Conventions and
http://docs.ofbiz.org/display/OFBADMIN/Best+Practices+Guide


G. Michael Jean sent the following on 3/8/2009 7:48 PM:
> Hi
> 
> I found a javascript function in code of the ecommerce app that was
> causing me problems to register a new customer.  The file is
> ~/ofbiz/applications/ecommerce/webapp/ecommerce/customer/newcustomer.ftl
> and section is:
> 
> ----------snip--------------------------------------------------------------------
>      function hideShowUsaStates() {
>          if (document.getElementById("customerCountry").value == "USA"
> || document.getElementById("customerCountry").value == "UMI") {
>              document.getElementById("customerState").style.display =
> "block";
>          } else {
>              document.getElementById("customerState").style.display =
> "none";
>          }
>      }
> ----------snip--------------------------------------------------------------------
> 
> This code prevents any non-US user from registering a new account
> because it hides the state field on the form.  After commenting this
> code it works fine and displays the state field on the form.  I am not
> sure what the goal of this function is but I am wondering if it might be
> reconsidered because of the issue it causes.
> 
> Michael
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJtOG3rP3NbaWWqE4RAsQjAKDDpV1JAj5TZluOvw5GI6CmSK4eagCcD2VP
qeMfjyQBsiTmhE+/Tj9xJK0=
=JhdX
-----END PGP SIGNATURE-----

Reply via email to