RE: Hidden variables and passing data from one page to another

2003-10-23 Thread Pascal Peters
And how do you send the email?
-Original Message-
From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 oktober 2003 18:29
To: CF-Talk
Subject: Re:Hidden variables and passing data from one page to another

yes when the form is submitted an email is sent to the manager to inform
him that a customer has ordered for a desktop. There is no transaction
involved.

>What's the business process of how ordering is supposed to work? When a
>person orders something through the web interface is it supposed to
notify
>somebody at the company that an order was placed? If so, then AFAIK
there is
>going to have to be a server-side something. A client-side only
solution is
>only going to notify the client. So while it may technically be
possible to
>pass the variables and read them, what good are they? Unless you are
just
>having them print out a completed order form and snail-mail it or
something?
>
>Or maybe I'm missing something?
>
>-Kevin



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Hidden variables and passing data from one page to another

2003-10-23 Thread Pascal Peters
http://www.webreference.com/js/column8/functions.html

 
OR just type _javascript_ cookies in GOOGLE
-Original Message-
From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 oktober 2003 17:55
To: CF-Talk
Subject: Re:Hidden variables and passing data from one page to another

Can you post few examples of storing the values in cookies? I would
really appreciate your help.

>You can't get them in JS with method post. Your only options AFAIK are
>to use the method get or to set them as cookies before posting.
>-Original Message-
>From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] 
>Sent: donderdag 23 oktober 2003 17:49
>To: CF-Talk
>Subject: Re:Hidden variables and passing data from one page to another
>
>
>On the next page how do I get the get the value stored in the hidden
>variable. Can I use form.hidVariable when the method is post?
>
>>just post the form to the next pageno JS required...basic HTML
>>unless I'm missing your point??
>  
>
>
> 
>
> 
  _  


 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Hidden variables and passing data from one page to another

2003-10-23 Thread Pascal Peters
You can't get them in JS with method post. Your only options AFAIK are
to use the method get or to set them as cookies before posting.
-Original Message-
From: ColdFusion Programmer [mailto:[EMAIL PROTECTED] 
Sent: donderdag 23 oktober 2003 17:49
To: CF-Talk
Subject: Re:Hidden variables and passing data from one page to another

On the next page how do I get the get the value stored in the hidden
variable. Can I use form.hidVariable when the method is post?

>just post the form to the next pageno JS required...basic HTML
>unless I'm missing your point??
  



 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Re: Hidden variables and passing data from one page to another

2003-10-23 Thread Thomas Chiverton
On Thursday 23 Oct 2003 16:24 pm, Allan Clarke wrote:
>To: CF-Talk
> I am not using any server side
> language, only _javascript_ and html.

Ermm... ?

-- 
Tom Chiverton 
Advanced ColdFusion Programmer

Tel: +44(0)1749 834997
email: [EMAIL PROTECTED]
BlueFinger Limited
Underwood Business Park
Wookey Hole Road, WELLS. BA5 1AF
Tel: +44 (0)1749 834900
Fax: +44 (0)1749 834901
web: www.bluefinger.com
Company Reg No: 4209395 Registered Office: 2 Temple Back East, Temple
Quay, BRISTOL. BS1 6EG.
*** This E-mail contains confidential information for the addressee
only. If you are not the intended recipient, please notify us
immediately. You should not use, disclose, distribute or copy this
communication if received in error. No binding contract will result from
this e-mail until such time as a written document is signed on behalf of
the company. BlueFinger Limited cannot accept responsibility for the
completeness or accuracy of this message as it has been transmitted over
public networks.***

 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




Hidden variables and passing data from one page to another

2003-10-23 Thread Allan Clarke
Hello Everybody, I desperately need someone to help
me. I am working on a Order Form, users can rent or
buy desktops. I have a form with a couple of text
fields and drop downs common to users renting and
ordering desktops. There are two submit
buttons "rent" and "buy". The user fills in the
textboxes and select boxes and hits on "rent" or
"buy".  The form method is "post".
If the user hits the "rent" button, I want the user to
be taken to another page "rent.html" passing all the
form field values in hidden variables,
similarly when the user hits on "buy" button, I want
the user to be taken to "buy.html" passsing all the
form field values in hidden variables. I don't 
know how to pass hidden variables to the action page
and retreive their values in the action page. Can
somebody please show me
how to do this. I am not using any server side
language, only _javascript_ and html. Is it possible to
do this in client side language? Please can somebody
show me how to do this.

Here is my form




  Order
Date
  
  
size="56">


  
height="22">Telephone Extension
  
  
size="56">



 
        Current_Affairs
        Finances
 




align="center">

    
name="rentsubmit" value="rent">
    
name="buysubmit" value="buy">




Many Thanks
Allan

__
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
 [Todays Threads] 
 [This Message] 
 [Subscription] 
 [Fast Unsubscribe] 
 [User Settings]




RE: Hidden Variables

2000-08-22 Thread Philip Arnold - ASP

> Is it expected behavior for Hidden Vars
> to be truncated at the first space?

Are you putting quotes around the value?

If not, then HTML will think that it's another parameter

Philip Arnold
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**
This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify 
the system manager.
**


--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.



Re: Hidden Variables

2000-08-22 Thread paul smith

Of course!  Thanks!!!

best,  paul

At 01:40 PM 8/22/00 +, you wrote:
>Yes, if they are not surrounded by quotes.
>
>Ie.
>
>
>
>  will be truncated
>
>while
>
> will not be truncated.
>
>
>
>DC
>
>- Original Message -
>From: <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, August 22, 2000 13:31
>Subject: Hidden Variables
>
>
> > Good Morning List!
> >
> > Is it expected behavior for Hidden Vars
> > to be truncated at the first space?
> >
> > best,  paul
> >
> > 
> > --
> > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > 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.mail-archive.com/cf-talk@houseoffusion.com/
>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.mail-archive.com/cf-talk@houseoffusion.com/
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.



RE: Hidden Variables

2000-08-22 Thread Jay Wigginton

use the CF function URLEncodedFormat(string) in the value of the hidden tag

> -Original Message-
> From: paul smith [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 22, 2000 9:32 AM
> To: [EMAIL PROTECTED]
> Subject: Hidden Variables
>
>
> Good Morning List!
>
> Is it expected behavior for Hidden Vars
> to be truncated at the first space?
>
> best,  paul
>
> --
> 
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.mail-archive.com/cf-talk@houseoffusion.com/
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.



Re: Hidden Variables

2000-08-22 Thread David E. Crawford

Yes, if they are not surrounded by quotes.

Ie.



  will be truncated

while

 will not be truncated.



DC

- Original Message - 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 22, 2000 13:31
Subject: Hidden Variables


> Good Morning List!
> 
> Is it expected behavior for Hidden Vars
> to be truncated at the first space?
> 
> best,  paul
> 
> 
> --
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> 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.mail-archive.com/cf-talk@houseoffusion.com/
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.



Hidden Variables

2000-08-22 Thread paul smith

Good Morning List!

Is it expected behavior for Hidden Vars
to be truncated at the first space?

best,  paul

--
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
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.