oc-content/themes/veronika/functions.php
// KEEP VALUES OF INPUTS ON RELOAD
KEEP VALUES OF INPUTS ON RELOAD
KEEP VALUES OF INPUTS ON RELOAD
function veronika_post_preserve() {
  Session::newInstance()->_setForm('sPhone', Params::getParam('sPhone'));
  Session::newInstance()->_setForm('term', Params::getParam('term'));
  Session::newInstance()->_setForm('zip', Params::getParam('zip'));
  Session::newInstance()->_setForm('sCondition', Params::getParam('sCondition'));
  Session::newInstance()->_setForm('sTransaction', Params::getParam('sTransaction'));
  Session::newInstance()->_keepForm('sPhone');
  Session::newInstance()->_keepForm('term');
  Session::newInstance()->_keepForm('zip');
  Session::newInstance()->_keepForm('sCondition');
  Session::newInstance()->_keepForm('sTransaction');
}
function veronika_post_preserve ( ) { Session :: newInstance ( ) -> _setForm ( 'sPhone' , Params :: getParam ( 'sPhone' ) ) ; Session :: newInstance ( ) -> _setForm ( 'term' , Params :: getParam ( 'term' ) ) ; Session :: newInstance ( ) -> _setForm ( 'zip' , Params :: getParam ( 'zip' ) ) ; Session :: newInstance ( ) -> _setForm ( 'sCondition' , Params :: getParam ( 'sCondition' ) ) ; Session :: newInstance ( ) -> _setForm ( 'sTransaction' , Params :: getParam ( 'sTransaction' ) ) ; Session :: newInstance ( ) -> _keepForm ( 'sPhone' ) ; Session :: newInstance ( ) -> _keepForm ( 'term' ) ; Session :: newInstance ( ) -> _keepForm ( 'zip' ) ; Session :: newInstance ( ) -> _keepForm ( 'sCondition' ) ; Session :: newInstance ( ) -> _keepForm ( 'sTransaction' ) ; }
KEEP VALUES OF INPUTS ON RELOAD
KEEP VALUES OF INPUTS ON RELOAD