Menu disappears

igortsl 05 Mar, 2009
Hi

Following the thread http://www.chronoengine.com/forums.html?cont=posts&f=5&t=12833 I created my own form which always should return to itself just rendering displayed info according to submitted data values. I associated the form with a menu. Form itself is working pretty much OK but menu disappears upon form submission.

I'm using Joomla 1.5.8 and ChronoForms 3.0. below are my HTML code:

<img src=stockinfo.php?period=<?php echo $_POST['select_0']; ?> /><div  class="form_item"><div class="form_element cf_dropdown"><label class="cf_label">Select period:</label><select class="cf_inputbox" id="select_0" size="1" name="select_0"><option <?php if ($_POST['select_0'] == 1) { echo 'selected'; } ?> value="1">1 month</option><option <?php if ($_POST['select_0'] == 3) { echo 'selected'; } ?> value="3">3 months</option><option <?php if ($_POST['select_0'] == 6) { echo 'selected'; } ?> value="6">6 months</option><option <?php if (($_POST['select_0'] == 12) or (strlen($_POST['select_0']) < 1)) { echo 'selected'; } ?> value="12">12 months</option><option <?php if ($_POST['select_0'] == 24 ) { echo 'selected'; } ?> value="24">24 months</option><option <?php if ($_POST['select_0'] == 36 ) { echo 'selected'; } ?> value="36">36 months</option><option <?php if ($_POST['select_0'] == 48 ) { echo 'selected'; } ?> value="48">48 months</option><option <?php if ($_POST['select_0'] == 60 ) { echo 'selected'; } ?> value="60">60 months</option></select></div><div class="clear"> </div></div><div  class="form_item"><div class="form_element cf_button"><input value="Submit" name="undefined" type="submit"></div><div class="clear"> </div></div>


and On Submit after code:
<?php
showform($post);
?>


Is there a solution for this?

Thank you
Max_admin 05 Mar, 2009
Hi igortsl,

I think this is related to the itemid issue, and if so you need to apply some code fix (look it up here in the forums) OR get V3.1 RC2

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
igortsl 05 Mar, 2009
Installed 3.1 RC2 and that solved my problem - thanks a lot!!

Still curios about the issue but since it solved other way have to run forward.

Thanks again for prompt and precise response!

igortsl
This topic is locked and no more replies can be posted.