Submit Button

I have a DTC button in my page. I would like that pressing Enter will be the same as clicking the button (similar to a Submit button). I don't know how to get that in Interdev.
Thank you
Who is Participating?
make sure it's included within the form tags. below is a simple page:

<%@ Language=VBScript %>
for each item in Request.Form
     Response.Write "<b>" & item &"</b> " & Request.Form(item) & "<br>"
<SCRIPT id=DebugDirectives runat=server language=javascript>
// Set these to true to enable debugging or tracing
@set @debug=false
@set @trace=false
<% ' VI 6.0 Scripting Object Model Enabled %>
<!--#include file="../_ScriptLibrary/pm.asp"-->
<% if StartPageProcessing() Then Response.End() %>
<FORM name=thisForm METHOD=post>
<META NAME="GENERATOR" Content="Microsoft Visual Studio 6.0">
<form method=post>
<input type=text name=abc value=xyz>
<!--METADATA TYPE="DesignerControl" startspan
<OBJECT id=Button1 style="LEFT: 0px; TOP: 0px" classid="clsid:B6FC3A14-F837-11D0-9CC8-006008058731">
     <PARAM NAME="_ExtentX" VALUE="1773">
     <PARAM NAME="_ExtentY" VALUE="714">
     <PARAM NAME="id" VALUE="Button1">
     <PARAM NAME="Caption" VALUE="Button1">
     <PARAM NAME="Image" VALUE="">
     <PARAM NAME="AltText" VALUE="">
     <PARAM NAME="Visible" VALUE="-1">
     <PARAM NAME="Platform" VALUE="256">
     <PARAM NAME="LocalPath" VALUE="../"></OBJECT>
<!--#INCLUDE FILE="../_ScriptLibrary/Button.ASP"-->
function _initButton1()
     Button1.value = 'Button1';
function _Button1_ctor()
     CreateButton('Button1', _initButton1, null);
<% Button1.display %>

<!--METADATA TYPE="DesignerControl" endspan-->

<% ' VI 6.0 Scripting Object Model Enabled %>
<% EndPageProcessing() %>
insight974Author Commented:
I'm sorry, but this doesn't work for me.
insight974Author Commented:
I'm sorry, but this doesn't work for me.
Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

hmm, if you copied the entire page, put it into a new page and saved it you shouldn't have any problems (assuming you have the script library installed).

what browser are you using?
insight974Author Commented:
I'm using Internet Explorer 6. How do I install that Script library? Thank you
insight974Author Commented:
Hold on, now I could do it. You're the best!!!!!!!!! And you deserve the points.

These questions are still open, and our records show that you have logged in recently. Please resolve them appropriately as soon as possible. Continued disregard of your open questions will result in the force/acceptance of a comment as an answer; other actions affecting your account may also be taken. I will revisit these questions in approximately seven (7) days.


Community Support Moderator
Experts Exchange
Force/accepted by

Community Support Moderator
Experts Exchange
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.