CAUSE
The following dialog box appears when you drag and drop a textbox DTC (or any other form
related design-time control (DTC) onto an Active Server Pages (ASP) page:
The design-time control requires the Visual InterDev Scripting Object
Model. Would you like to enable the Scripting Object Model for this
page?
Yes No Help
When you select
Yes it will automatically add the following two script blocks to your Active Server Pages (ASP) page (marked with dark gray
background in Visual InterDev):
<% ' VI 6.0 Scripting Object Model Enabled %>
<!--#include file="_ScriptLibrary/pm.asp"-->
<% if StartPageProcessing() Then Response.End() %>
<FORM name=thisForm METHOD=post>
<% ' VI 6.0 Scripting Object Model Enabled %>
<% EndPageProcessing() %>
</FORM>
The first script block gets added between the <%@ Language=VBScript %> and
<HTML> tags, the second script block gets added between the </BODY> and
</HTML> tags.
When enabled, the Scripting Object Model wraps the entire page in an HTML
form. Which means if you add (or have already added) a form to the page,
your Web browser will ignore the nested form and any data within it.
NOTE: Nested forms are not valid HTML, and therefore the form isn't
processed properly when previewing it.