[ic] Is it possible to use the Error Tag on non checkout forms?

Mike Heins interchange-users@icdevgroup.org
Thu Aug 1 15:23:04 2002


Quoting Brian Kosick (briank@nacs.net):
> Hello all,
> 
> I'm trying to figure out whether it is possible to use the error tag on a 
> page that doesn't lead to a order.  Ideally, I would like to setup a 
> profile in etc/profile.order, or profile.search, while, it looks like I can 
> to it, by using a combination of mv_check and in-page [set][/set] routines, 
> I would really like to use a profile, instead of having to (it seems) 
> recreate the wheel with each form, that I need to do checking on.
> 
> example:
> 
> [if type=explicit compare="[error all=1 show_var=1 keep=1]"]
>      <P>
>          <B>There were errors in your last submission:<br>
>          <blockquote>
>          <FONT color="__CONTRAST__">
>                  [error all=1 keep=1 show_error=1 show_label=1 joiner="<br>"]
>          </font>
>          </blockquote>
>          </p>
>          <p>
>      The areas you need to correct are shown in
>      <FONT color="__CONTRAST__">this color</FONT> below.</B>
>      </p>
> [/if]
> 
> <FORM ACTION="[process-target]" METHOD=POST>
> <INPUT TYPE=hidden NAME=mv_todo VALUE=return>


> <INPUT TYPE=hidden NAME=mv_profile VALUE=form_profile>

Here's a big problem right away -- mv_profile is not for checking
forms. That is mv_form_profile.

-- 
Mike Heins
Perusion -- Expert Interchange Consulting    http://www.perusion.com/
phone +1.513.523.7621      <mike@perusion.com>

I have a cop friend who thinks he ought be able to give a new ticket;
"too dumb for conditions".