Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Ezilon Directory   Improve your ranking, submit to directories   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-31-2006, 03:36 PM   #1 (permalink)
Inactive
 
Join Date: 05-31-06
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

malhyp is liked by many
Smile Insert form results to a hidden field...

-----------------------------------------------------------------------

Heya, I have a page search.asp with a form in it which has text and list menus.

Text Fields: KeywordSearch
List Menu: CategoryTable
List Menu: Location
Button: Search

When you submit the search button the search.asp page directs to the results.asp page with the search result.

Going back to the search.asp page. I would like to create a second form on the same page which would have 4 hidden text fields.

Hidden Field: KeywordSearch, CategoryTable, Location, UserName.

Is it possible to pass the entered information from the Text Fields and List Menu to the Hidden Fields?

The reason for wanting to do this is so that I can create an Insert Record. When submitting from the search page, the insert record will also submit to a database which will show me what the users are searching for.

Tanks Heaps

Mally
__________________
TA

Mally
malhyp is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-31-2006, 10:18 PM   #2 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
It's 100% possible. My ASP is rusty, so I don't remember the code on how to do it. (If only it was PHP and I would know it right off the top of my head). I'm sure it's just some form of a POST from the last page and you can enter the values from the previous page into the hidden fields.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2006, 09:05 AM   #3 (permalink)
Inactive
 
Join Date: 05-31-06
Posts: 2
iTrader: 0 / 0%
Latest Blog:
None

malhyp is liked by many
Ok, so I have a search.asp page which has a form that submits the data to the results page.

In the results.asp page I need to create a form with the 4 hidden text fields.

How do I then get the information to the database?
malhyp is offline  
Add Post to del.icio.us
Reply With Quote
Old 06-02-2006, 09:10 AM   #4 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,007
iTrader: 0 / 0%
Latest Blog:
None

Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
From there you can just go to another results page and then get the POST information and then in tern add the information to the database using the ADD or UPDATE queries.
__________________
~Izzmo
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to retrieve results from Database on specific field swcobra Coding Forum 3 06-29-2006 03:15 PM
Your recommended Form Field Validation Javascript bestempire Coding Forum 1 05-30-2006 07:18 AM
Form Field in Subject Line TGR Web Design Lobby 1 10-11-2004 10:08 AM
jump to form field younghistorians Coding Forum 3 06-04-2004 07:45 AM
Changing size of the form field Sonti Coding Forum 1 05-06-2004 02:42 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:57 PM.
© Copyright 2008 V7 Inc