Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website Design Forum


You are currently viewing our Website Design Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Feel bad I have to ask this question
Old 09-03-2004, 12:01 PM Feel bad I have to ask this question
Average Talker

Posts: 15
Trades: 0
First off I feel bad not being able to find this answer out on my own.

Our website uses HTML and ASP. We have a form on our page, and when someone fills out a form and forget to enter a field they are pointed to a page saying you forgot to enter this etc.... With a button to click back.

When they click back the form is empty. And they must input all there information again.

What I am looking to try and do is if they submit the form without for example "State" then reload the page with all there info still on it, and tell them they need to pick a state.

I know there are tons of sites with this, it's not in there code, and I dont know what this "procedure" is called. If someone could point me in the right direction I would appreciate it.

I don't need the code, unless someone is really bored. There may be one or two of you out there. All I need is to know what to search for on google. Because searching for "reload form after submission with valid data still loaded" doesn't cut it for google.

Thanks
prblackwell is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-03-2004, 01:33 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
I would try echoing the variable in the form feild. For instance...

<input type="text" value="<?php echo $_POST['text']; ?>">
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Old 09-07-2004, 12:05 PM
Average Talker

Posts: 15
Trades: 0
thanks for your help cptnwinky. Although I don't think that this would work in our current setup. I was hoping for more of a response, but I guess I will wait and keep looking.

Thanks
prblackwell is offline
Reply With Quote
View Public Profile
 
Old 09-07-2004, 02:10 PM
Republikin's Avatar
Defies a Status

Posts: 3,189
Trades: 3
Sorry, I did not notice that it was ASP...

Try replacing the php above with...

Request.Form("text")
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
Republikin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Feel bad I have to ask this question
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.35847 seconds with 12 queries