Re: Re: Re: Losing cust checkout data on error.

Lyle's picture
Offline
AdministratoreLiTe!
Joined: 08/07/2007
Juice: 6841
Re: Re: Re: Losing cust checkout data on error.

onError refers to JavaScript errors, not Drupal form errors. I don't think that would be very useful because it's probably the quote fetching that causes the error, and just repeating it won't help.

I tried putting

<?php
 
if (form_get_errors()){
   
// get quotes
 
}
?>

but it didn't work. I think the form errors are reset by the time the page is displayed again.