try resetting the form onload of the page (<body>)




Kevin Mansel <[EMAIL PROTECTED]> on 08/30/2001 12:20:40 PM

Please respond to [EMAIL PROTECTED]

To:   CF-Talk <[EMAIL PROTECTED]>
cc:

Subject:  Small JS Question


Ok, I have a form, I submit the form, the values are passed.  And then I do
some inserting into my DB.  Now, if a user clicks back, I want the form to
be reset.  I've tried appending myForm.reset(); to my validation scripts,
but when I submit it, no values are passed through, obviously because of
the
form reset method i'm invoking at the end.  However when I do the form
reset
method, when the user clicks back, the form is at the default state, so i'm
getting the results, but not the way i need them, i need them to work
together, anyone have any insight on this one?

Thanks,

kev

~~~~~~~~~~~~~~~~~
Kevin Mansel
Senior Web Developer
Fox Communications
[EMAIL PROTECTED]
DL : 425-649-1321
C : 425-346-7221
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to