[ic] profiles.order question

Jon Jensen jon at endpoint.com
Thu Jun 30 09:38:04 EDT 2005

On Thu, 30 Jun 2005, Sandy Thomson wrote:

> In my form profiles, I want to do something like
> ---
> fname=required First Name Required
> lname=required Last Name Required
> zip=required Zip/Post Code Required
> <on_success>
> [set blarg]1[/set]
> </on_success>
> ---
> Instead of taking the customer to seperate pages.
> Any ideas? I have looked at lib/Vend/Order.pm and &setcheck but this
> doesn't seem to do what I want.
> Basically, I need a way of accessing the profiles state at that point
> (whether there are errors).

It sounds like you want something like:

     &set blarg 1

After that you should be able to check it with [if value blarg] ... [/if] 
in a page.


Jon Jensen
End Point Corporation

More information about the interchange-users mailing list