MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: Where do I put additional error checking?



On Thu, 7 Jan 1999, Gerard Olszowiec wrote:
> I want to do some additional error checking for the checkout process.
> Simple things like checking that a province was selected if the country was
> Canada or a state selected if the country was USA.  I already have the state
> and country lists populated, so my question is where does this type of error
> checking code go and how do I do it?  I would like the error messages to be
> displayed on the same page as the checks for blank fields -- the
> needfield.html page.  Does the code go in the checkout.html or
> needfield.html?  There is additional checking in needfield now from the
> simple demo, but it doesn't seem to get executed.

Look at etc/order.profiles

The US/state checks (very simple) are already in there for an
example to build on.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82

Search for: Match: Format: Sort by: