Login Retreive lost passwordRegister
Search

Forum Index / General / _curPage bug ?

[ This topic is solved ]

  kreatik 25 June 07 / 01:46  
Hello :)

Only with the first step (or first page of form) $form->_curPage return '2' !

exemple :

step 1 : $form->_curPage = '2'//not good
step 2 : $form->_curPage = '2'//good
step 3 : $form->_curPage = '3'//good...
step 4 : $form->_curPage = '4'


Please help !

  kreatik 25 June 07 / 12:56  
my fix (in my php page) :

if(!$_POST)
$smarty->assign('formStep',1);
else
$smarty->assign('formStep',($form->_curPage+1));

  kreatik 17 February 09 / 23:43  
Hi !

_curpage doesn't work after form->flush(). :(

How to get the current displayed page view ?

  Johan Wiegel (Admin) 18 February 09 / 07:33  
put it in a var before flushing?

  kreatik 01 April 09 / 16:03  
yes! :)

  Top


powered by PHP-GLOBE   © 2004 - 2012 FormHandler. All rights reserved.   -   Open source license