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

#19
[eluser]cartalot[/eluser]
>but so I must repeat in controller 2 the same code of controller 1; is it correct?

its possible to do that way, but typically if you have something like a 3 part form -- you would do it from the same controller
just use different method (function) names like

function validform()
function validformtwo()
function validformthree()

so if your class is 'register'
the first form will direct to "register/validform"
second form goes to "register/validformtwo"



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.