Hidden Fields

This is a discussion on "Hidden Fields" within the Web Page Design section. This forum, and the thread "Hidden Fields are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 7th, 2006, 16:26
New Member
Join Date: Feb 2006
Age: 23
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Hidden Fields

Hi, basically I've got two form pages for users to fill in page1 and page2. The user first of all enters all the form details in page1 then goes to the next stage by clicking next which takes them to page2. There are a few more form values to enter in page2 then user can submit the data.

How do I get all the form data from page1 into page2 as a list of hidden fields so when I submit, it has both sets of data from page1 and page2?

Thanks
Reply With Quote

  #2 (permalink)  
Old Feb 7th, 2006, 19:30
Highly Reputable Member
Join Date: May 2005
Location: U.K
Age: 21
Posts: 739
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to benbramz
Re: Hidden Fields

Quote:
Originally Posted by tomd1985
Hi, basically I've got two form pages for users to fill in page1 and page2. The user first of all enters all the form details in page1 then goes to the next stage by clicking next which takes them to page2. There are a few more form values to enter in page2 then user can submit the data.

How do I get all the form data from page1 into page2 as a list of hidden fields so when I submit, it has both sets of data from page1 and page2?

Thanks
it would need the application of a server side script.
for example, you could have page one and submit the data.
then you could save this info into the database, which would be done on page two, then display the rest of forms and redo the process.

thats the best way, however, you could gather the info from the 1st form by picking up the the post data.
for example, in asp request.form("username")
Reply With Quote
  #3 (permalink)  
Old Feb 7th, 2006, 20:07
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: Hidden Fields

If your using php, you can post the variables from page1 into hidden fields on page2.
Reply With Quote
Reply

Tags
hidden, fields

Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning a value to Hidden Type. thanawala84 Web Page Design 1 Oct 13th, 2007 08:10
Form fields hidden under images dangergeek Web Page Design 5 Sep 3rd, 2007 13:23
hidden text Lchad Webforumz Cafe 30 Jan 5th, 2007 09:12
Hidden layers using CSS and JavaScript blis102 Web Page Design 1 Jun 29th, 2006 21:17
Javascript Hidden field problem... Rudie JavaScript Forum 14 Jun 20th, 2006 22:06


All times are GMT. The time now is 02:43.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43