473,398 Members | 2,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Form info lost after refresh

rrocket
116 100+
I have a group of pages going from step 1 to step x... Everything works okay with that, but on the first page a pop-up is used so a user can create their own info if it is not already in the list. Once the pop-up is closed the information currently on the main page is lost. What is the best way to store the information so that not everything is lost after a refresh. The pages are built with ASP and JavaScript.

Thanks :)
Aug 21 '07 #1
3 3545
epots9
1,351 Expert 1GB
Hi rrocket welcome to TSDN,

in your asp page, are you using html controls? or asp controls? because my experience with asp controls is that, as long as its not a password field, if a asp page is refreshed the inputted data is not lost.
Aug 21 '07 #2
rrocket
116 100+
Expand|Select|Wrap|Line Numbers
  1. <input type="text" name="txtZipFr" id="txtZipFr" size="10" value="<%response.write session("txtZipFr")%>">
That is how I am trying to store the information...
Aug 21 '07 #3
rrocket
116 100+
Since I do need the page to reload so that the infomation from the popup shows up on the main page (unless someone has a better idea) here is the code that I am using to refresh the page:
Expand|Select|Wrap|Line Numbers
  1. <script language="JavaScript" type="text/javascript">
  2.   //<!--
  3.     opener.location.reload(true);
  4.     self.close();
  5.   // -->
  6. </script>
What I think I need to do is... Post the variables already entered into the form to the popup so they will stick after more options are selected from the popup and the main form is reloaded. After that I can move on to the next page without having to enter the information that I am currently losing.
Aug 21 '07 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Robert Clark | last post by:
This a pocket pc/smartphone questions mainly, but i thought i'd ask the question in the C# newsgroup. I have a form which i use to display information from a web service. From this form i open...
2
by: Peter Oliphant | last post by:
I now have graphics being drawn in the Paint event of my form (yeah, and it's very cool). Problem was that it only updated any changes to these graphics when Paint was called. So, I then made it...
1
by: abdul bari | last post by:
Hi I have a standard html form which is generated by an XSL sheet. The form data is submitted to the server and is passed on to file.aspx for processing. However file.aspx is refreshed every 5...
2
by: davidgordon | last post by:
Hi, I have an intranet system I created in ASP. A problem I seem to run into now and then is when users are seletcting multiple lines of updates in a form, i.e. They enter quanties, select...
3
by: Vivek | last post by:
Hi, I wish to refresh the parent form and pass the new values from child form. How can I do it? Thanks
3
by: KayC | last post by:
Hi Background info: I am running Access 2000 I have a form bound to a blank table When a user clicks a button the form opens in datasheet view User enters data into form and closes form User...
1
by: NoNameNoWhere | last post by:
I have forms that are handled by PHP scripts in the same file that generates the page. After the page regenerates with the results of the form submission, a refresh of the page re-submits the...
2
by: Evolution445 | last post by:
Hi, I've been using several search terms, but couldn't find the answer. Maybe it is there and I havent looked good enough. I have a small program to which people can login to. All login info...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.