Current location: Hot Scripts Forums » Programming Languages » PHP » submit from form 1 to form 3 bypassing form 2


submit from form 1 to form 3 bypassing form 2

Reply
  #1 (permalink)  
Old 06-01-05, 06:46 AM
buzzby buzzby is offline
Newbie Coder
 
Join Date: Apr 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
submit from form 1 to form 3 bypassing form 2

is this possible?

i have a form in an index page. it has 4 checkboxes for the user to tick if they want to go to 4 pages. once they press submit then a return page pops up giving them the links to the 4 pages (depending on how many checkboxes they have ticked). when they press the link they go to the form to fill it out. once they submit the form they get their results. on the results page i want to have those links that were there on the 1st page. do i need to submit it to a database in order to call it. i know when i pass data from one form to the next (ie checkbox values) i dont need tosubmit it but have the form action to be the page i want the data submitted to. if i use a database how do i know if the selection they put in is the same they are going to get out since there is no primary key function? absolutely no primary key function.
Reply With Quote
  #2 (permalink)  
Old 06-01-05, 02:06 PM
ben.periton ben.periton is offline
Wannabe Coder
 
Join Date: Oct 2004
Posts: 183
Thanks: 0
Thanked 0 Times in 0 Posts
Could you not use hidden fields to store the values entered, then pass them to the next page?

Use $_GET to pass from the links (eg script.php?linkID=2) then $_POST for the other forms
__________________
Ben Periton
http://ben.periton.co.uk
Reply With Quote
Reply

Bookmarks


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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Form Validation - Prevent submit if fields are blank Cepeleon JavaScript 2 03-15-05 04:33 PM
How to submit a form using a link, not a submit button? Myke311 HTML/XHTML/XML 3 01-12-05 01:26 AM
submit form with more than one href submit and no submit button adlinfanus JavaScript 1 03-09-04 06:45 AM
submit form? tcooper PHP 5 12-12-03 03:30 PM
question on form and submit TxRanger JavaScript 2 11-03-03 11:28 AM


All times are GMT -5. The time now is 06:49 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.