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

#12
[eluser]Lewis Cowles[/eluser]
you could have the entire form on a single page inside a div with overflow: hidden; in the css and use
Code:
<a name="section1">...
<a name="section2">...
this will obviously have an effect loading times, but it will allow for a smoother transition between elements.

Also check out how Magento does this; It's the same thing, but with jQuery animations to toggle between fieldsets, for that little extra visual flair. very very nice to be able to add this kind of functionality.

Also as a N.B. consider that the form should be external to the div's
Code:
&lt;form ...&gt;&lt;div ...>content...</div>&lt;/form&gt;
, this will ensure that, the form as a whole can be saved. If you use localstorage, you can also save the form data on the users machine without having to worry about filling a database or storing a cookie (which might not be large enough, depending upon the size of the form.


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.