Retaining ASP

Am using the function
Code:

window.history.go(-1);

to re-direct users back to the form they submit when certain conditions are not met.
The test works fine, but all user inputs disappear when the function re-directs them back to the form. What can i use to make the form inputs still be available to users when they are re-directed by the function.

View Replies


ADVERTISEMENT

Retaining Values

I have developed a web page using vbscript for calculations (similar to an invoice). I would like to save the values entered into the fields when the user would like to save the information to update at a later time. Is there a simple code that will allow me to do this? I would like to do this without using a link to a database, this page is being run by a client, not thru a server.

View Replies View Related

Retaining Value Of Forms

I have an asp page for sending emails.I just added the option for attaching files.My page has a structure similar to teh yahoo email(with the "attach" files button).After attaching the files,the user should be able to return to the main page and continue with the message.

What should I use to retain the text in the boxes,so that teh user cau continue to the message?I also have other forms,like drop-down menus and I would also like to retain the values selected by the user.

View Replies View Related

Retaining User Input...

I have a form that I am trying to append to include a CAPTCHA validation field.

I have added the CAPTCHA code to the end of the form itself and now I am struggling to make the processor do a couple of things:

***If the CAPTCHA validates as well as all the form input data>>confirmation page and send appropriate email.

***If the form is filled out, but the CAPTCHA authentication is wrong>>go back to the same page, keep the form filled out, and give one more chance to correctly enter the CAPTCHA field.

***If the form is being spammed.......fail and die gracefully.

Here is the processor code thus far: Code:

View Replies View Related

Retaining Form Values

I have created a asp page "AddUsers.asp" which allows the admin to create new user ids.The admin fills in all relevant details and clicks on submit.The form gets posted to a page "Insertusers.asp" which checks if the new entered userid already exists in a database.

If the userid already exists, page display a message saying "Userid already exists" and a back button(link to Addusers.asp).When the admin clicks on back button, it takes him to Addusers.asp and all the relevant details entered in a form are lost.Again he has to fill in all the details which i want to avoid.How can i retain the values entered in the form so that the admin can change only the userid and submit the form again?

View Replies View Related

Retaining Search Results

I have search capability in the web site that I'm working on. I submit my search criteria, and using the post method, displays my results on a results page. Now here is the problem: If I click on a link within the results, and opt to go back to the results page, my page has expired as it needs to request those objects.

I used for the search criteria again to repost and display the results. Is there an easy way around this so that when I hit the back button it can just redisplay the results with the criteria I've already used to query?

View Replies View Related

Cookie Problems For Retaining

I have several users data elements that I want to maintain and persist. I've created a cookie with keys to do this, but having problems with it persisting.

1. Do you set the .Expires at the Cookie level or at the Key level?

2. Once you set the .Expires, do you need to reset it, if you then change
one of the Key values?

3. If 2 = Yes, then I'd like to have a common routine that set's the expires property in an include file. I've tried this, but I keep getting the "Object doesn't support this property or method: 'Response.Cookie'" error.

View Replies View Related

Retaining Data After Submit For Next Page

I have a form where users enter informaiton including a zip code. I was hoping that after they submit their info I could retain that zip code for the next page. The end result would be to have a page with a link that says "Click here for directions to our event!" and have the link go to mapquest directions from their zip code to mine.

Looking at Mapquest's URLs it seems they come in a very standard format that one could easily plug two zip codes into the url and have directions from place to place.The users do not have to log in to enter data into the form (my Google-ing has turned up stuff on session variables, but that seems to require log-ins).

I am gonna play around with this for a while, but if anyone has any pointers or links that could get me going in the right direction.

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved