In certain cases we want disable duplicate messages (on top and inline). Modifying each and every form and form elements would become inefficient and buggy (currently #error_no_message flag is allowed for form elements individually)
Proposed solutions
- add a form property which can be used to disable IFE $form['#error_no_message'] = TRUE