This is usuallly done with sessions, however when going back the browser
will not do a page refresh. So you would need to then provide a link to
actually go back, then check for the session and pull the information out of
the session and back into the form.

This then has other complications, because most users are already familiar
with the back button of the browser, and they will start complaining when
they hit that and see nothing.

My best advice is to look into ExtJs if you are using ColdFusion 8/9 or
jQuery and look at what we call Card Wizzards. These allow for the entire
form to be on the one page, and then use HTML/JavaScript to mimic that it is
actually going back and forth.

There a hundreds of examples but here is a jQuery one.

http://thecodemine.org/#_demoForm=first



-- 
Regards,
Andrew Scott
WebSite: http://www.andyscott.id.au/
Google+: http://plus.google.com/108193156965451149543



On Mon, Sep 26, 2011 at 11:50 AM, Mo Lay <[email protected]> wrote:

>
> >Before I answer this...
> >
> >I need to know a question, as you really haven't explained exactly what
> you
> >are trying to achieve.
> >
> >So you have submitted the form, now using the back button or any button to
> >go back is really dangerous. Some browsers can and do keep the data
> entered
> >in the forms, others will always clear it.
> >
> >But by definition, one should always expire the page that a form is on.
> The
> >number one reason is also security, a user could potentially leave the
> >computer, and another can come up and hit the back button and see
> everything
> >that is typed in.
> >
> >So the question I would like to ask, what is the purpose of going back to
> >the form with the entered data? Because if we can establish why you need
> to
> >do this, then we maybe able to provide a solution to what you really
> >need/want to do.
> >
> >
> >
> >
> >
> >>
>
> Hi Andrew ,
>
> thanks for that ..
> My user has basically to fill the 1st form(general information) then he
> will be asked to proceed to the 2nd form and so on ... all are subforms..
>
> ** For the sub forms i want him  simply to be able to toggle between them
>  and validate his information before submitting them.
>
>
> please let me know if iam unclear ?
>
>
> thanks
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5630
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to