Microsoft KB Archive/193013

= MSPress Site Address Form Error in German Site Server 3.0 =

Article ID: 193013

Article Last Modified on 1/21/2000

-

APPLIES TO


 * Microsoft Site Server 3.0 Standard Edition

-



This article was previously published under Q193013



SYMPTOMS
In the German version of the Site Server 3.0 Commerce Edition "MS Press" sample site, two errors were introduced into COMMSPress\member\xt_orderform_prepare.asp during the localization process.

The address form field labeled "Bundesland" (State) is limited by program logic to only two characters. This prevents users from entering any more than two characters into the field.



RESOLUTION
This problem is caused by the "DEU" value in the following code. It should be reverted to "USA" in order for the logic to reach the else statement (The else statement is intended to be used for non-US state field entries.)

The second problem is that the error message associated with the else statement advises users to enter between 1 and 50 characters, even though the field is limited to 30 chars. The fix here is to simply change the "50" in the error message to "30."

The broken code from xt_orderform_prepare.asp follows: if mscsOrderForm.ship_to_country = "DEU" then mscsOrderForm.ship_to_state = mscsPage.RequestString("ship_to_state", null, 2, 2) if IsNull(mscsOrderForm.ship_to_state) then errorList.Add("Versand an Bundesland muss eine Zeichenfolge  zwischen 1 und 50 Zeichen sein") end if   else mscsOrderForm.ship_to_state = mscsPage.RequestString("ship_to_state", null, 1, 30) if IsNull(mscsOrderForm.ship_to_state) then errorList.Add("Versand an Bundesland muss eine Zeichenfolge  zwischen 1 und 50 Zeichen sein") end if   end if



STATUS
Microsoft has confirmed this to be a problem in the German-language version of Site Server 3.0 Commerce Edition.

Additional query words: ss3

Keywords: kbbug kbpending KB193013

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.