Ask a Question related to Coldfusion - Getting Started, Design and Development.
-
standardCode #1
Preserving data
I'm using flash forms and was wondering if data can be preserved. If a user
enters some data and submits the form. If there is something wrong I redirect
them back to the form but all their input is gone. How do I preserve this data?
standardCode Guest
-
Preserving File Name
Is there any way to force Contribute to overwrite files? We update our site daily and as a result, each time new images are loaded contribute... -
Preserving data in a drop down
ok so i am also using the preserveData function on a form. it is working fine unless it is a cfselect tag for some reason it is not working on... -
Preserving form information
Two problems that I'm having (due to being a n00bie) are: The form I'm using is the basic form with a username, email address etc.. the two that... -
Preserving desktop
I use a screen resolution of 1024 x 768. To check that a projector looks OK at 800 x 600 I reset my machine to that resolution. Doing that messes up... -
Preserving Filters
Hi, I have written an app which is using a lot of datagrids. Sorting and Filtering of recs have been done succesfully. Editing of recs being... -
Dan Bracuk #2
Re: Preserving data
How do you re-direct them?
Not sure about flash forms, but, with html forms, if you submit the form, and
then use your browswer to go back, your values will still be there. Try it
with your form.
If the values are still there, you can javascript them back,
(window.history.back(1) or something like that).
Otherwise you can make them all session variables and change your form page to
use whatever session variables exist.
Dan Bracuk Guest
-
SafariTECH #3
Re: Preserving data
If you use CFFORM and submit the form to itself (action and form on same page)
and use <cfform preservedata="Yes" then it will remember previous selections
.... this works in HTML, XML, or FLASH forms.
If you want to have your form page separate from the action page then you can
use session variables for the form to remember them. It's a bit more work, but
I remember doing this long ago before forms had the preservedata ability
Relying on the browser's "memory" is not a very efficient or dependable
solution.
SafariTECH Guest



Reply With Quote

