# Additional information on validation of custom node

**URL:** <https://discourse.nodered.org/t/additional-information-on-validation-of-custom-node/71708>\
**Category:** Developing Nodes\
**Created:** [5 December 2022 12:18 UTC](https://discourse.nodered.org/t/additional-information-on-validation-of-custom-node/71708 "2022-12-05T12:18:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [5 December 2022 16:09 UTC](https://discourse.nodered.org/t/additional-information-on-validation-of-custom-node/71708/2 "2022-12-05T16:09:25Z")

</div>

> [@ItsDaveTheWave](#):
>
> I thought about doing a node.warn() or node.error() but I dont think I can do this in the HTML.

No, that is correct, you can't use those. However, Node-RED provides a notification utility for this purpose. I'll look it up and update this post when I find it.

`RED.notify('Your message here', options)`

- [https://discourse.nodered.org/t/node-red-admin-ui-display-message-to-user/12290/2?u=totallyinformation](https://discourse.nodered.org/t/node-red-admin-ui-display-message-to-user/12290/2)
- [https://github.com/node-red/node-red/blob/master/packages/node\_modules/@node-red/editor-client/src/js/ui/notifications.js#L24](https://github.com/node-red/node-red/blob/master/packages/node_modules/@node-red/editor-client/src/js/ui/notifications.js#L24)

You will also find some examples in uibuilder's code.

Of course, in addition, you can put in-line help information in the configuration panel to help people understand how to input correct configurations.

---

_[View the full topic](https://discourse.nodered.org/t/additional-information-on-validation-of-custom-node/71708)._
