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

Reply via email to