So you're using QF and I assume you're doing client side validation? I
would suggest making the billing address fields client rules, then
make the shipping address required rules server-only.
Yeah, that's what I wound up doing but I used the getSubmitValues() method instead of $_POST.
// apply rules for billing address
$_submitted_values_arr = $form->getSubmitValues();
if(!isset($_submitted_values_arr['same_as']))
{
// apply rules, no client side validation
}
I'll have to work on the JS at a later date, thanks. Any idea if there is an archive to search through for PEAR before posting to the list?
- Erik Heerlein