Pass it as a hidden field.

<form action="index.cfm" method="post">
<input type="hidden" name="fuseaction" value="whatever">
...

Fred T. Sanders
Galveston Island, TX
------------------------------
Having a bad day?
Imagine this...

You are in total seclusion from that hectic place called "The World".
The soothing sound of a gentle waterfall fills the air with a cascading
serenity.
The water is clear.
You can easily make out the face of the person you are holding underwater.

Feeling better?


----- Original Message -----
From: "aslam bajaria" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 18, 2000 7:50 PM
Subject: Question on FuseBox model


> I am trying to learn the fusebox model. I have a
> created a file called index.cfm.
>
> That file has a switch statement.
>
> The question I have is that if I have a file that  has
> a form, then how do I submit that form so that the
> index.cfm file can include the right action page.
>
> The only way I know so far is that I say something
> like
>
> <cfif form.state="CA">...
> But,
> I think that in fusebox model you say:
>
> <cfswitch expression="#attributes.fuseaction#">
>
>      <cfcase value="00">
> <cfinclude template="testing.cfm">
>      </cfcase>
>
> and so on.
>
> What code do I write in the form page that when the
> user clicks 'Submit', a fuseaction value is passed to
> the index.cfm page.
>
> Thank you.
> Mirza
>
> __________________________________________________
> Do You Yahoo!?
> Send online invitations with Yahoo! Invites.
> http://invites.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.

Reply via email to