Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FP2000: Cannot Validate Form Field if Name Has Invalid Character


View products that this article applies to.

This article was previously published under Q205545

For a Microsoft FrontPage 98 version of this article, see 194283 (http://support.microsoft.com/kb/194283/EN-US/ ) .
For a Microsoft FrontPage 97 and earlier version of this article, see 184411 (http://support.microsoft.com/kb/184411/EN-US/ ) .

↑ Back to the top


Summary

If the Name property of a form field contains an invalid character and you attempt to use form field validation on that field, the following message appears:
This control's name is not a valid identifier for scripting languages. Consequently, any script that FrontPage generates may not work properly.

Before specifying validation criteria, please change the control's name so that it starts with a letter, and subsequent characters are letters (A-Z and a-z), digits (0-9), or underscores ("_").

Note: the letters must be ASCII; extended characters are not allowed.

↑ Back to the top


More information

The scripting language used by FrontPage does not recognize spaces or extended characters (such as /, \, *, &, @, and so forth) as valid characters for a form field name. If you use any of these characters in the Name property of a form field, Form field validation will not work.

To remove the invalid characters or spaces from the form field names, follow these steps:
  1. Open the page in the Page View of FrontPage
  2. Double-click the form field that you want to modify.

    This will Open the form field properties dialog box (Example: Text Box Properties)
  3. In the Name box, type a name that contains alphanumeric characters, such as A-Z, a-z, 0-9, or the underscore character ("_"). The name must start with a letter.

↑ Back to the top


Keywords: KB205545, kbinfo

↑ Back to the top

Article Info
Article ID : 205545
Revision : 1
Created on : 10/1/2001
Published on : 10/1/2001
Exists online : False
Views : 351