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?



Hi,

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.

You don't need to add the atkescape field. Just call session_form($sessionstatus).


You should call this on any form you create anyway.

You can pass any of the SESSION_DEFAULT, SESSION_NESTED, SESSION_BACK etc. values for $sessionstatus.

ATK will add some hidden fields, among which is the atkescape value you got the error about.

The reason you should call session_form is that it does some things to make the saving of form data in the sessoin work, and to determine if the submit button of your form should trigger a new window, replace the current window or go back on the stack (similar to session_url and session_href, but for forms).

Greetings,
Ivo



http://www.achievo.org/lists achievo.org - ©1999-2002 ibuildings.nl BV