Same drupal webform is showing error messages in two different way, on different palces in the same website I am using drupal webform for my website, I am using single Contact Us form on multiple places in my website.

But the problem is on different places the way of showing error message is different, its not uniform through out the website.



Here is the image that shows the first way that how error messages comes-


and here is the image that shows the second way to show error messages-


I want first type of error messages which is in red box.

Please help me that how can I achieve this.

Thanks
Try to use Webform Validation module. I hope through this you can solve your issue.


  This module adds an extra tab to each webform node, allowing you to
  specify validation rules for your webform components. You can create
  one or more of the predefined validation rules, and select which
  webform component(s) should be validated against those. By using the
  hooks provided by this module, you can also define your own validation
  rules in your own modules.