BUG: Script Outline May Not Show Elements Within a Form Element

ID: Q190586


The information in this article applies to:


SYMPTOMS

In Source view, if you create a <FORM> element, then place other elements within it, those elements may not be shown in the Script Outline window.


CAUSE

The Script Outline will show only elements that have been assigned a name or ID attribute. If the <FORM> element has not been assigned a name or ID, then it will not be shown in the Script Outline window. If the form does not appear in the Script Outline, the elements it contains will not be shown, even if those contained elements have been given a name or ID.


RESOLUTION

Whenever a form element is created, it should be assigned a unique ID or a unique name, for example:


   <FORM ID=MyForm> ... </FORM> 


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

Steps to Reproduce Behavior

  1. Create a new page in a Web project and open it for editing into Source view.


  2. In the BODY of the page, type this text:
    <FORM><INPUT ID=MyInput></FORM>


  3. Examine the "Client Objects & Events" node of the Script Outline window.


Neither the form nor the input elements are shown.

Additional query words:


Keywords          : kbide kbVisID kbVisID600bug kbGrpASP 
Version           : WINDOWS:6.0
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: May 13, 1999