How to override checkout form validation error message? Im using D7 and Ubercart 3. But I think this is more a form question than anything else. When validating the checkout form I get a list of errors saying fields are required. And thats all fun and stuff, but I just want the error to say:


  Please complete the form by filling out the highlighted fields.


And only once off course.
You'll want to use:  theme_status_messages.

First, use drupal_get_messages to clear the queue.

Then, use drupal_set_message to add your new generic message.