Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14318 reviews 1707 hosting providers

Questions & Answers

Clear Drupal error message

May 26, 2012 by Donald
How can I clear Drupal error messages? Which function should be called in my form  so that the error message will be cleared automatically? Can anyone please advice?

Thank you

2 Answers

0 votes
May 26, 2012 by lionhost

You’ll find your answer here http://drupal.org/node/214389
0 votes
May 26, 2012 by TopNet
The easiest way is to use drupal_get_messages();