Intro and questions...what else?

2001-07-18 Thread John Paitel

Hey all...

I am new to the list, as well as a relatively new CF programmer 
(1+years), 
and I am going back and filling in the gaps from when I learned what 
I 
needed to at the time. ;-) I have been programming for a few years, 
so 
understanding the programming concepts is not a problem.

I do have a question on a site I am developing for a future personal 
business. I want to allow users to sign up for a trial account. I 
have 
javascript that checks the form for validity (Email address, no blank 
fields, etc), but I need to also check the database to make sure that 
the 
user account name does not already exist. I can do this easily in the 
handler page, but if the username exists, and I send them back, all 
their 
info disappears.

I can take care of this by passing the data back, but I would rather 
not 
keep passing their password back and forth. Is there a way to keep 
the 
data, without passing it back and forth?

John Paitel


~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Intro and questions...what else?

2001-07-18 Thread brian.yager

At 1+ yearsyou are an expert!

-Original Message-
From: John Paitel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 3:24 PM
To: CF-Talk
Subject: Intro and questions...what else?


Hey all...

I am new to the list, as well as a relatively new CF programmer 
(1+years), 
and I am going back and filling in the gaps from when I learned what 
I 
needed to at the time. ;-) I have been programming for a few years, 
so 
understanding the programming concepts is not a problem.

I do have a question on a site I am developing for a future personal 
business. I want to allow users to sign up for a trial account. I 
have 
javascript that checks the form for validity (Email address, no blank 
fields, etc), but I need to also check the database to make sure that 
the 
user account name does not already exist. I can do this easily in the 
handler page, but if the username exists, and I send them back, all 
their 
info disappears.

I can take care of this by passing the data back, but I would rather 
not 
keep passing their password back and forth. Is there a way to keep 
the 
data, without passing it back and forth?

John Paitel
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Intro and questions...what else?

2001-07-18 Thread brian.yager

You can do this on your action page.  Put values in your form like input
type=text name=test value=#test#.  At the top of the page have one of
these for each of your form boxes CFPARAM name=test default=.  Then on
your action page, if the name exists, do a CFINCLUDE to your form page and
followed by a CFABORT.  All of your values should then be there.

Brian

-Original Message-
From: John Paitel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 3:24 PM
To: CF-Talk
Subject: Intro and questions...what else?


Hey all...

I am new to the list, as well as a relatively new CF programmer 
(1+years), 
and I am going back and filling in the gaps from when I learned what 
I 
needed to at the time. ;-) I have been programming for a few years, 
so 
understanding the programming concepts is not a problem.

I do have a question on a site I am developing for a future personal 
business. I want to allow users to sign up for a trial account. I 
have 
javascript that checks the form for validity (Email address, no blank 
fields, etc), but I need to also check the database to make sure that 
the 
user account name does not already exist. I can do this easily in the 
handler page, but if the username exists, and I send them back, all 
their 
info disappears.

I can take care of this by passing the data back, but I would rather 
not 
keep passing their password back and forth. Is there a way to keep 
the 
data, without passing it back and forth?

John Paitel
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



Re: Intro and questions...what else?

2001-07-18 Thread Todd Ashworth

Welcome,

Pass everything but the password.  It won't kill them to retype just 
that
little bit ;)

Todd

- Original Message -
From: John Paitel [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 4:23 PM
Subject: Intro and questions...what else?


| Hey all...
|
| I am new to the list, as well as a relatively new CF programmer
| (1+years),
| and I am going back and filling in the gaps from when I learned what
| I
| needed to at the time. ;-) I have been programming for a few years,
| so
| understanding the programming concepts is not a problem.
|
| I do have a question on a site I am developing for a future personal
| business. I want to allow users to sign up for a trial account. I
| have
| javascript that checks the form for validity (Email address, no 
blank
| fields, etc), but I need to also check the database to make sure 
that
| the
| user account name does not already exist. I can do this easily in 
the
| handler page, but if the username exists, and I send them back, all
| their
| info disappears.
|
| I can take care of this by passing the data back, but I would rather
| not
| keep passing their password back and forth. Is there a way to keep
| the
| data, without passing it back and forth?
|
| John Paitel



~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Intro and questions...what else?

2001-07-18 Thread Billy Ng

How about using Javascript?

if validation fails run the following

script language=JavaScript
history.go(-1);
/script

then it would be like hitting the back button.
All their information should still be on the page excluding password 
field.

Just a thought.
Billy


- Original Message -
From: John Paitel [EMAIL PROTECTED]
To: CF-Talk [EMAIL PROTECTED]
Sent: Wednesday, July 18, 2001 4:23 PM
Subject: Intro and questions...what else?


| Hey all...
|
| I am new to the list, as well as a relatively new CF programmer
| (1+years),
| and I am going back and filling in the gaps from when I learned what
| I
| needed to at the time. ;-) I have been programming for a few years,
| so
| understanding the programming concepts is not a problem.
|
| I do have a question on a site I am developing for a future personal
| business. I want to allow users to sign up for a trial account. I
| have
| javascript that checks the form for validity (Email address, no 
blank
| fields, etc), but I need to also check the database to make sure 
that
| the
| user account name does not already exist. I can do this easily in 
the
| handler page, but if the username exists, and I send them back, all
| their
| info disappears.
|
| I can take care of this by passing the data back, but I would rather
| not
| keep passing their password back and forth. Is there a way to keep
| the
| data, without passing it back and forth?
|
| John Paitel
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists



RE: Intro and questions...what else?

2001-07-18 Thread Kelly Matthews

Yep I would do javascript to go back one page also, that's what I do
and it works well.
Kelly

-Original Message-
From: John Paitel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 4:24 PM
To: CF-Talk
Subject: Intro and questions...what else?


Hey all...

I am new to the list, as well as a relatively new CF programmer 
(1+years), 
and I am going back and filling in the gaps from when I learned what 
I 
needed to at the time. ;-) I have been programming for a few years, 
so 
understanding the programming concepts is not a problem.

I do have a question on a site I am developing for a future personal 
business. I want to allow users to sign up for a trial account. I 
have 
javascript that checks the form for validity (Email address, no blank 
fields, etc), but I need to also check the database to make sure that 
the 
user account name does not already exist. I can do this easily in the 
handler page, but if the username exists, and I send them back, all 
their 
info disappears.

I can take care of this by passing the data back, but I would rather 
not 
keep passing their password back and forth. Is there a way to keep 
the 
data, without passing it back and forth?

John Paitel
~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists