473,785 Members | 2,272 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Form info lost after refresh

rrocket
116 New Member
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 3571
epots9
1,351 Recognized Expert Top Contributor
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 New Member
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 New Member
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
2586
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 another Form. On this form i update the webservice which in turn updates the information displayed on the previous form. When i close this form, I wish to refresh the previous Form to show the new modified data. How can i do this? Is there a...
2
1898
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 so the Refresh() method of the form was called for each graphic object. In this case it drew just fine, but Paint was being called so often I lost control of the form (e.g., trying to close the form using the close 'x' in upper right corner...
1
2023
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 seconds, when this happens the form data is lost, is there anyway whereby when the page is refreshed the form data remains. I thought with ASP.NET all data is maintained- so a refresh will still maintain the form data. The form data is obtained...
2
1330
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 items from dropdowns and then some script adds this info to 1 line within a textarea field. The user may enter any amount of lines of data to submit.
3
1728
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
6198
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 clicks button which then creates an inner join between form bound table and master table and updates records in master table where values are equal to form bound table
1
4650
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 values of the previous form. Is there a way to reset or clear that form data to prevent the re-submission of data? Thanks
2
1203
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 is stored in a simple html page. I manually add the info to that page. I want to make a 2nd program, that is able to see who is currently logged in into the program. If I click Refresh, I want to let a list fill with all the Usernames currently...
0
9647
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9485
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10161
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9958
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8986
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.