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

#10
[eluser]PhilTem[/eluser]
Well, basically, you won't increase the number of post items by every request. If you did good merging on your new hidden field and the old hidden field, you will basically only get one more field per form page.

The idea is to put all data of one form-page into one hidden field (by either serialization or json_encode'ing). So you will only get one more field per form page. Which you don't have to validate on any page but the page it was entered.

Since you probably want to process all the data the user entered into every form at once at the end you will have to read/progress it after submitting the last form anyway.
Of course it will entail that you have all post data within the last form, but I think, if you have write-queries after every submitted post form to your database it's probably slower than just putting it into one input field.

But that's all just my thoughts on something like this since I never needed to create multi-page forms.


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.