[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] yikes-- my error checking quit working (mv 4.04)
****** message to minivend-users from Mark Stosberg <mark@summersault.com> ******
Hello,
I'm doing some prelaunch prepration for a minivend store and noticed
during testing that the error checking isn't working. As best I
remember, this used to work. :) So I'm imagining I probably changed
something subtle to deactivate it, but I can't figure out what. :)
I've using a multi page checkout modeled after the 'simple' demo,
including a lot of these sorts of tags:
[error name=lname std_label="last name" required=1]
As well as these:
[if errors]
<P>
<FONT COLOR=__CONTRAST__>There were errors in your last submission.</FONT>
They are shown in <FONT COLOR=__CONTRAST__>this color</FONT> below.</FONT>
<P>
[/if]
I'm using the standard checkout_profile to handle things.
Nothing shows up in the log files regarding this.
Let's double check that things are in order:
[snip]
catalog.cfg:
OrderProfile etc/profiles.order etc/profiles.login etc/profiles.misc
[/snip]
that looks right.
in etc/profiles.order
[snip]
__NAME__ checkout_profile
fname=required
lname=required
address1=required
city=required
country=required
[if value country =~ /^(US|CA)$/i]
state=state_province "[value state]" is not a valid US/Canada
state or province.
zip=postcode "[value zip]" is not a valid US/Canada postal code.
&or phone_day=phone, phone_night=phone Must have evening or day phone_number
[else]
&or phone_day=phone, phone_night=phone Must have evening or day phone_number
[/else]
[/if]
&fatal = yes
email=required
email=email
.....
[/snip]
that looks right, too.
[snip]
in the session files:
session/N/V/NVAPX4dV:nobody: 'mv_order_profile' => 'checkout_profile',
[/snip]
so it looks like the right profile is being called.
What could I be missing that is preventing error checking from happening?
Thanks!
-mark
<<-------------------------------------------------------------->>
personal website < Summersault Website Design
http://mark.stosberg.com/ > http://www.summersault.com/
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list