The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 871 - File: showthread.php PHP 7.4.15 (Linux)
File Line Function
/showthread.php 871 errorHandler->error


The Form Tools forums are no longer active, but the old posts have been archived here. Please see the Help page on how to get help / report issues.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Passing values from one page to another upon submission
I have a multi-page form that when the first page is submitted it has a number of values that need to be sent to (pass through) to page 2. When I was testing it with the "form action='page2' method='post'" method, it works like it should but when trying to make it work with the FT API process (form action='<?php echo $_SERVER["PHP_SELF"]?>' method=post'), the page (page 1) gets submitted and it re-directs to page 2 like it is supposed to; however, the pass through values do not make it to page 2. I went through a couple of other threads that I felt applied and one of them suggested one of the tutorials of which I read and applied. It was regarding the re-filling of values so that they would be there if needed if trying to set up a review page or going back to re-edit the info. It had the form fields broken down and examples on how to make each of them work. I went through the 1st page and added these PHP (get) lines to each of my fields (corrected to my field names as directed) with the exception of the pass through fields. I did not apply them there since there is javascript applied to all of the regular form fields in order to get those values into the right pass through formats. Do I need to go back and adjust the "action" value to make the info pass through to page 2 and if so, how will that affect the submission info from page 1? Or is there some other way or something that I am missing that would make this happen? Any input or thought is welcomed as I am completely spinning my wheels on this one.

Messages In This Thread
Passing values from one page to another upon submission - by vlscottsr - Aug 11th, 2013, 8:20 AM

Forum Jump:

Users browsing this thread: 1 Guest(s)