Welcome Guest, Not a member yet? Register   Sign In
Multi Page Form Logic
#8

[eluser]Jesse Schutt[/eluser]
Just out of curiosity, how would you structure the controller and form? Do I need a different function for each page of the form? Or, is it one function that walks through all of the pages?

Code:
Controller:

function part_1() {
  if(validation == false)
  {
     load a view
  }
  else
  {
     process input
     send to db
     ???????Move to another function?????
  }
}

And in the form, I am a little confused as where to send that action="" parameter...

Any help would be appreciated.

Jesse


Messages In This Thread
Multi Page Form Logic - by El Forum - 02-19-2009, 10:56 AM
Multi Page Form Logic - by El Forum - 02-19-2009, 11:06 AM
Multi Page Form Logic - by El Forum - 02-19-2009, 12:32 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:21 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:24 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:27 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:29 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:38 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:47 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:49 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 01:56 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 02:05 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 02:51 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 03:00 PM
Multi Page Form Logic - by El Forum - 02-19-2009, 03:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB