The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
Values not being held following page navigation - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: General Discussion (https://forums.formtools.org/forumdisplay.php?fid=5)
+--- Thread: Values not being held following page navigation (/showthread.php?tid=587)



Values not being held following page navigation - martin_undefined - Mar 21st, 2010

So, a 4 page form with validation and everything completed so that the values on each page should hold correctly if the user goes back a page etc.

This works fine if I go back from page 4 to page 2 etc, but if I go all the way back to page 1, I lose all of the values on the other 3 pages.

Does anyone have any idea why this might be happening?

Thanks in advance.


RE: Values not being held following page navigation - Ben - Mar 22nd, 2010

Interesting... so when you go back to page 1, all the fields on page 1 are still entered? Sounds almost like the sessions are being emptied back on page 1, but I don't know why that would occur.

If you like, email me at ben.keen@gmail.com with the form URL; I'd kind of like to see it. If you could email me the form code as well, that'd be very helpful! (Oh, and mention this thread: I keep losing track of what goes where these days.... must be getting old).

- Ben


RE: Values not being held following page navigation - martin_undefined - Mar 27th, 2010

(Mar 22nd, 2010, 8:03 PM)Ben Wrote: Interesting... so when you go back to page 1, all the fields on page 1 are still entered? Sounds almost like the sessions are being emptied back on page 1, but I don't know why that would occur.

If you like, email me at ben.keen@gmail.com with the form URL; I'd kind of like to see it. If you could email me the form code as well, that'd be very helpful! (Oh, and mention this thread: I keep losing track of what goes where these days.... must be getting old).

- Ben

Ben,

Just discovered something else on this which might help you work it out.

If I complete the form (to the last page but not submitted) and just use the browser forward & back buttons - all fields stay populated as expected. My 'previous page' button works okay as well because that's just some JS doing the browser page back bit.

However, pressing 'next page' ie. the submit button on Page 1 seems to be the action that wipes values in page 2,3,4.

Look forward to hearing from you.


RE: Values not being held following page navigation - philou - Apr 18th, 2012

Hi Ben,

has this been solved and if yes, how? I am using the FormBuilder Default Template set and then the included "Navigation - Simple" template. When I enter something on page 3 and then use the navigation to go back to page 2, my values are lost when I then (via the "Continue" button on the bottom) move forward again to page 3.

I have looked at the code and since the links in the navigation are simple <A> tags with a href="?page=2" I don't see how the form values could possibly be saved when moving backwards among pages.

Shouldn't there be a submit action and then a request for a previous page?

That said, I looked at the "Continue Button" Template and was surprised that the <INPUT type="submit"> wasn't between the <form> tags, so I'm not quite shure how you are submitting the form?

Many thanks for your help,
p.