Hey guys,
wondering if anyone has any suggestions:
I'm using a form inside a JCE mediabox iframe. For some reason, although form code seems ok and has:
$pane =& JPane::getInstance("tabs", array("startOffset" => 0));
in it, after having submitted the form a first time, if you re-use it, form opens up on the last tab used (in this case panel index 1) instead of "reverting" back to the first tab (panel index 0).
Same thing happens even if you navigate to another page in the site and get back to this page again: form "remembers" last edited tab and opens up on it.
Using Joomla! 2.5.4 Stable, Chronoforms_V4_RC3.4.1_J1.6.
Gratefull for any help!
wondering if anyone has any suggestions:
I'm using a form inside a JCE mediabox iframe. For some reason, although form code seems ok and has:
$pane =& JPane::getInstance("tabs", array("startOffset" => 0));
in it, after having submitted the form a first time, if you re-use it, form opens up on the last tab used (in this case panel index 1) instead of "reverting" back to the first tab (panel index 0).
Same thing happens even if you navigate to another page in the site and get back to this page again: form "remembers" last edited tab and opens up on it.
Using Joomla! 2.5.4 Stable, Chronoforms_V4_RC3.4.1_J1.6.
Gratefull for any help!
Hi paulorcmartins,
Sorry, no real idea. Presumably the variable that controls the pane setting is a JavaScript variable so I wouldn't expect ti to be preserved between pages. Do you have anything else in the form with the same name? Maybe Joomla! preserves it as a User state variable????
Bob
Sorry, no real idea. Presumably the variable that controls the pane setting is a JavaScript variable so I wouldn't expect ti to be preserved between pages. Do you have anything else in the form with the same name? Maybe Joomla! preserves it as a User state variable????
Bob
Hi Bob,
Thanks for the brainstorming.
Don't really know what to think, it's simply not reading the variable at all I'd say.
After some more testing today, strange thing I found is, it works fine "resettting" to the first panel of the form, if I use sliders instead of tabs!.
Paulo
Thanks for the brainstorming.
Don't really know what to think, it's simply not reading the variable at all I'd say.
After some more testing today, strange thing I found is, it works fine "resettting" to the first panel of the form, if I use sliders instead of tabs!.
Paulo
This topic is locked and no more replies can be posted.