• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Split form in many pages... better way?

#8
[eluser]PhilTem[/eluser]
Basically, you would take @CroNiX' approach but not store the data in a database but a hidden field

Controller:
Code:
// after first submit
$previous_data = $this->input->post();

$data = array(
              'previous_data' => serialize($previous_data)
             );

$this->load->view('second_form', $data);

View:
Code:
echo form_hidden('previous_data', $previous_data);


Messages In This Thread
Split form in many pages... better way? - by El Forum - 07-02-2012, 08:16 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 08:30 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 08:55 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 09:39 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 11:01 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 11:21 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 11:25 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 11:54 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 11:59 AM
Split form in many pages... better way? - by El Forum - 07-02-2012, 12:23 PM
Split form in many pages... better way? - by El Forum - 07-03-2012, 12:21 AM
Split form in many pages... better way? - by El Forum - 07-03-2012, 01:08 AM
Split form in many pages... better way? - by El Forum - 07-03-2012, 02:03 AM
Split form in many pages... better way? - by El Forum - 07-03-2012, 02:04 AM
Split form in many pages... better way? - by El Forum - 07-03-2012, 09:21 AM
Split form in many pages... better way? - by El Forum - 07-03-2012, 10:52 AM
Split form in many pages... better way? - by El Forum - 07-03-2012, 11:28 AM
Split form in many pages... better way? - by El Forum - 07-06-2012, 02:59 AM
Split form in many pages... better way? - by El Forum - 07-06-2012, 01:01 PM
Split form in many pages... better way? - by El Forum - 08-18-2014, 09:03 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.