In the "does not work area", you are using a text input field instead of a
hidden field. Try this:
<form action="index.cfm" method="post">
<input type="hidden" name="fuseaction" value="AuthenticateUser">
blah, blah
</form>
<form action="index.cfm" method="post">
<input type="hidden" name="fuseaction" value="ProcessNewUser">
blah, blah,
</form>
Yvette Ingram
ColdFusion Programmer
HWG-TA, ColdFusion 4
Email: [EMAIL PROTECTED] or
[EMAIL PROTECTED]
ICQ: 21200397
----- Original Message -----
From: aslam bajaria <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, April 28, 2000 4:56 PM
Subject: Very basic question on forms
> Can someone tell me why the following code works and
> the code following it does not.
>
> ********works*******************************
> <form action="Index.cfm?fuseaction=AuthenticateUser"
> ...
> </form>
>
> and
> <form action="index.cfm?fuseaction="ProcessNewUser"
> ...
> </form>
>
> It works fine the way above.
> *********does not work***********************
> What I am trying to do is the following and it keeps
> going to the same fuseaction:
>
> <form action="Index.cfm" method="post">
> <input type="text" name="fuseaction"
> value="AuthenticateUser">
>
> ...
>
> </form>
> <form action="Index.cfm" method="post">
> <input type="text" name="fuseaction"
> value="ProcessNewUser">
>
> ...
>
> </form>
> Can someone tell me why?
> Appreciate
> A.B.
>
> __________________________________________________
> Do You Yahoo!?
> Talk to your friends online and get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> --------------------------------------------------------------------------
----
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.