[ic] form profile and &fatal=yes

Kevin Walsh kevin at cursor.biz
Fri Aug 25 06:14:53 EDT 2006


Dan Bergan <dan at berganconsulting.com> wrote:
> Mark Johnson wrote:
> > You will likely need to split this into two operations. Use
> > mv_form_profile to do your profile checks first, and then put the
> > account creation code inside an mv_click. With &fatal in a
> > mv_form_profile, for a failed profile, the mv_click code will never execute.
> >
> > You could, in fact, cut that one profile right between &fatal and the
> > [if ...] line, putting the top part in the mv_form_profile, and the
> > bottom part in the mv_click, and that would be logically the proper
> > division.
> >
> One more question -- you say the mv_click code will never execute (with 
> &fatal and a failure)... how about mv_check?
> 
It's the other way around.  The mv_click will run before the profile
is checked.  In fact, the mv_click callback code can specify the name
of the profile to use.  The mv_check callback will not be executed if
a profile is checked and fails.

It's very easy to confuse mv_click and mv_check.  Someone will no doubt
followup if I have just done so.  The following should make it easier:

    http://www.interchange.rtfm.info/icdocs/Form_callback_functions.html

-- 
   _/   _/  _/_/_/_/  _/    _/  _/_/_/  _/    _/
  _/_/_/   _/_/      _/    _/    _/    _/_/  _/   K e v i n   W a l s h
 _/ _/    _/          _/ _/     _/    _/  _/_/    kevin at cursor.biz
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/


More information about the interchange-users mailing list