[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Help needed with multiple checkout pages


Christopher P. Lindsey wrote:
<<snip>>
>    What's really confusing to me is error handling.  It looks like
>    minivend now wants to display errors based on etc/profiles.order
>    entries, but I'm really not keen on errors being displayed in a
>    separate page.  I'd rather redisplay the form with the errors 
>    displayed on the same page, but I can't figure it out.  The old
>    checkout_profile stuff doesn't seem to work any more.

How the errors are displayed is completely configurable. When an error
is encountered, Interchange should return the user to the page specified
with &fail, or the page specified in mv_failpage / mv_nextpage. Do not
set &fatal, this may be what is sending you to the error page.

__NAME__ my_co_profile
zip=required
&fail=/ord/my_co_page

Then you can use ITL in your_co_page to process the errors however you like:

[if type=explicit compare="[error all=1 show_var=1 keep=1]"]
  <B>There were errors in your last submission:<br>
  <blockquote>
    <font color="RED">
      [error all=1 keep=1 show_error=1 show_label=1 joiner="<br>"]
    </font>
  </blockquote>
[/if]

You can see a lot more (and more modern) examples of this in the demo
catalogs.

The 'old' docs can be useful for this:

http://www.icdevgroup.org/interchange-doc-5.2.0/frames/ictemplates_frames.html

HTH,

JT

-- 
Web:    http://www.signless.com
E-Mail: suppressed
Voice:  (503) 616-4816
Cell:   (503) 419-8806
Skype:  jt.justman
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.