Posting Form Fields in a hidden DIV

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • KeredDrahcir
    Contributor
    • Nov 2009
    • 426

    Posting Form Fields in a hidden DIV

    I want to break a form into more than one page but post all the fields in on go at the end. I was think of hacing the first page and then having a Next >> button that would set the style of the div surounding those fields to display: none and setting the div sttyle of the div surrounding the remaining fields to display: block.

    If I do this, will the fields in the hidden div still be posted?

    Is there a better way to do this? The fields are created dynamically so I wont knwo how many there could be before hand and may want different numbers of fields on each page.
  • acoder
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    It should work. Have you tried it? Any problems?

    Comment

    • KeredDrahcir
      Contributor
      • Nov 2009
      • 426

      #3
      Haven't gor round to trying it yet. It's not something I'm planning too soon but I need to plan ahead. If it should work I can work out when to do it.

      Comment

      Working...