• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to display the form values even after refreshing the page?

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hai,
plz go thru my problem and reply immediately.
In a form,
I have select fields like clients,events,groups,etc.
In that i'm displaying all the clients,events and group names from
the backend database.
I'm also having a new option in each select field.
If I select the new option, it will
open a popup window, for adding a new client or event or group.
when we add a new client or event or group it will be saved in the
backend database and as I have to show that new entry in the main screen
immediately on save, I'm refreshing the main screen whenever i'm opening a pop up &
saving a new value.
my problem is, I have some text fields,text areas and select
fields whose values are refreshed when I refresh the screen.
(ie. it shows empty or its first option)
Now I want all the values to be captured and displayed back for those fields even
after refreshing this page.
(this fields are not saved in the backend till this time, as i'm just
started entering them for a new user, so I can't get them from backend).
How can we do it using javascript?
(or by using html).
My requirement may seem to be peculiar but that's what they require.
plz help me if anybody knows this.
i want this stuff immediately.
(if possible give some example coding).
(if not exact even some ideas or good suggestions will be good).
thanks in advance,
regards,
saravanan.r.
 
Ranch Hand
Posts: 183
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You have to repost the data in the form.
You can use some hidden input and pass it to the form again.
reply
    Bookmark Topic Watch Topic
  • New Topic