Date index for Sep 2003
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [achievo] What triggers the proper loading of formsubmit.js?
Peter C. Verhage wrote:
If you name your report form "entryform" and add an hidden field named
"atkescape" it should work. The javascript code needs this field to
save certain data before posting the form.
Yes, I already knew that. Manually loading the .js files and adding the
"atkescape" field to my form does solve the problem. But, as Ivo
mentioned, this should not be the way to do it.
You don't need to add the atkescape field. Just call
session_form($sessionstatus).
I'm already doing that:
$g_layout->initGUI();
$g_layout->ui_top(text('parameters', $this->m_type, $this->m_module));
$g_layout->output('<form action="dispatch.php" method="post"
name="entryform">');
$g_layout->output(session_form(SESSION_NESTED));
But it doesn't work. The session_form() function outputs:
<input type="hidden" name="atklevel" value="1"><input type="hidden"
name="atkprevlevel" value="0"><input type="hidden" name="atkstackid"
value="3f607c9a63eb9"><input type="hidden" name="achievo"
value="370fc665d2bac8ab46fca2996aff84e3">
There is no "atkescape" field, and the .js files are still not loaded.
Is there anyhing else I need to do or set before calling session_form()?
Best regards,
Sebastian
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature