Re: Form field values on post

2002-02-27 Thread Alex

javascript is slow on NT? Are  you sure about this?

On Wed, 27 Feb 2002, Hays, Duncan wrote:

> I'm trying to post a form and then, on the page I'm posting to, loop thro
ugh
> all the form fields and get the values. I've been shown form.formfields a
nd
> that great for the names but how to I get the values out. I can't come up
> with the syntax. 
> 
> *I'll use JavaScript prior to the submit if I have to but JS is slow on N
T.
> 
> Thanks
> 
> Duncan Hays 
> 
__
Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusiona
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Form field values on post

2002-02-27 Thread Stephen Moretti

> I'm trying to post a form and then, on the page I'm posting to, loop
through
> all the form fields and get the values. I've been shown form.formfields
and
> that great for the names but how to I get the values out. I can't come up
> with the syntax.
>

form.yourformvariable or if you're looping through the form.fieldnames,


   form.#fieldname# = #form[fieldname]#


should do the trick.

> *I'll use JavaScript prior to the submit if I have to but JS is slow on
NT.
>
Not sure what you mean by this, but you realise that JS is client side and
not server side?

Regards

Stephen
__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Form field values on post

2002-02-27 Thread David Schmidt

Whoops!

on the action page...





#fieldname# = #myvalue#




-Original Message-
From: Hays, Duncan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 8:18 AM
To: CF-Talk
Subject: Form field values on post


I'm trying to post a form and then, on the page I'm posting to, loop thro
ugh
all the form fields and get the values. I've been shown form.formfields a
nd
that great for the names but how to I get the values out. I can't come up
with the syntax.

*I'll use JavaScript prior to the submit if I have to but JS is slow on N
T.

Thanks

Duncan Hays


__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Form field values on post

2002-02-27 Thread Hays, Duncan

Thank you  Thank you  Thank you

-Original Message-
From: David Schmidt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 11:28 AM
To: CF-Talk
Subject: RE: Form field values on post


on the action page...




#fieldname# = #evaluate("#thisvariablename#")




-Original Message-
From: Hays, Duncan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 8:18 AM
To: CF-Talk
Subject: Form field values on post


I'm trying to post a form and then, on the page I'm posting to, loop 
thro
ugh
all the form fields and get the values. I've been shown form.formfields 
a
nd
that great for the names but how to I get the values out. I can't come 
up
with the syntax.

*I'll use JavaScript prior to the submit if I have to but JS is slow on 
N
T.

Thanks

Duncan Hays


__
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Form field values on post

2002-02-27 Thread David Schmidt

on the action page...




#fieldname# = #evaluate("#thisvariablename#")




-Original Message-
From: Hays, Duncan [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 27, 2002 8:18 AM
To: CF-Talk
Subject: Form field values on post


I'm trying to post a form and then, on the page I'm posting to, loop thro
ugh
all the form fields and get the values. I've been shown form.formfields a
nd
that great for the names but how to I get the values out. I can't come up
with the syntax.

*I'll use JavaScript prior to the submit if I have to but JS is slow on N
T.

Thanks

Duncan Hays

__
Why Share?
  Dedicated Win 2000 Server · PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists