Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple actions in one form?? Is it possible? 1

Status
Not open for further replies.

gwillr

IS-IT--Management
Nov 4, 2003
267
CA
I have a single input box, and a 'submit'button, code as follows:

Code:
<FORM NAME="mainForm" ACTION="<%=Request.ServerVariables("SCRIPT_NAME")%>" METHOD="POST">
<INPUT TYPE="HIDDEN" NAME="ChatName" VALUE="<%=strChatName%>">
<INPUT TYPE="HIDDEN" NAME="Font" VALUE="<%=strFont%>">
<INPUT TYPE="HIDDEN" NAME="Color" VALUE="<%=strColor%>">
<INPUT TYPE="HIDDEN" NAME="Size" VALUE="<%=strSize%>">
<INPUT TYPE="HIDDEN" NAME="Logout">
<INPUT TYPE="TEXT" NAME="chatInput" SIZE=30><BR>
<INPUT TYPE="SUBMIT" NAME="chatSubmit" VALUE=" Send ">
<INPUT TYPE="SUBMIT" NAME="chatSubmit" VALUE="Log out">
<!--<INPUT TYPE="BUTTON" NAME="Who" VALUE="See who's on" onClick="checkUsers('checkusers.asp')">-->
</FORM>

This form submits the information to the application, BUT, is there a way that I can have it ALSO submitted to a text file beheined the scenes without the user having to ckick two buttons, or entering the information 2 times?

Gary
 
Did you want that text file on the server or on the client?
On the server, use whatever process you're sending the information to to create the text file in addition to it's regular processing.

On the client you're looking at an ActiveX solution that won't be pretty.

Never be afraid to share your dreams with the world.
There's nothing the world loves more than the taste of really sweet dreams.
 
I want it on the server, so I will use the current process.

Thanks, I should have realized that.

Gary
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top