I would make the modifications below, mainly taking out the "FormA" and just
referring to form.

-----Original Message-----
From: Javier Flores [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 1:23 PM
To: [EMAIL PROTECTED]
Subject: Re: Session Variables


Ok,

But I�m currently doing in that way... and it does not work...
PAGE_A.cfm
-------------------------------------------------------
<form name="form" action="PAGE_B.cfm" method="POST">
  <input type="text" name="FirsName"> - First Name<br>
  <input type="text" name="LastName">  - Last Name <br>
  <input type="submit" name="Submit" value="Submit">
  <input type="hidden" name="Person_id" value="10">
  <input type="hidden" name="School_id" value="100">
</form>

-------------------------------------------------------
PAGE_B.cfm
<cfoutput><form name="formB" action="PAGE_C.cfm" method="POST">
  #form.FirstName# - First Name<br>
  #form.LastName#  - Last Name <br>
  #form.Person_id#  - Last Name <br>
  #form.School_id#  - Last Name <br>
  <input type="submit" name="Submit" value="Submit">
</form></cfoutput>

What do I need to change? add?

JJ






----- Original Message -----
From: "KNOWLTON, JUSTIN J (SWBT)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 08, 2002 1:41 PM
Subject: RE: Session Variables


> I've always just used the "<input type="hidden" name="LastName"
> value="#form.LastName#">" method.
>
> On the first form, you ask for the last name. On the second form, you hide
> the value of "#form.lastname#" since it is a variable from the previous
> page. Finally, when you are actually posting the form, just post the
> variable "#form.lastname#", etc.
>
> I wouldn't use session variables on this type of thing but that is just
me.
>
> -----Original Message-----
> From: Javier Flores [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 08, 2002 12:26 PM
> To: [EMAIL PROTECTED]
> Subject: Session Variables
>
>
> Hi everyone!
>
> I triying to create a 3 form using 3 steps... Form 1 (step 1), Form 2
(step
> 2) and Form 3 (step 3)...
> -------------------------------------------
> In the 1st form... I request for
> Name
> Last Name
> ID
> -------------------------------------------
> In the 2nd form... I request for
> [hidden] Name
> [hidden] Last Name
> [hidden] ID
> School
> Birth Day
> -------------------------------------------
> In the 3th form... I request for
> [hidden] Name
> [hidden] LastName
> [hidden] ID
> [hidden] School
> [hidden] Birth Day
> Comments
>
> And in the 4th web page... I just want to show ALL the Values to insert it
> in a DB...
>
> I dont want to pass the values for the URL... I put it in the following
way
> and does not appears the values...
> #session.LastName#
> and
> <input type="hidden" name="LastName" value="#LastName#">
>
> What do I have to do? What is the better way to pass this values from one
> form to another?
>
> Regards,
>
> JJ
>
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
>
> -------------------------------------------------------------------------
> This email server is running an evaluation copy of the MailShield anti-
> spam software. Please contact your email administrator if you have any
> questions about this message. MailShield product info: www.mailshield.com
>
> -----------------------------------------------
> To post, send email to [EMAIL PROTECTED]
> To subscribe / unsubscribe: http://www.dfwcfug.org
>


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to