---
title: "Comment by Cornelia Klug on \"Oracle APEX - TinyMCE Word & Character count #JoelKallmanDay\" | Hashnode"
description: "Thank you for this useful blogpost. But how can I give an alert message when a max wordcount is reached? Can you help me?"
url: "https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c/comment/6565f017cda818ef51985d24"
---

[Discussion](https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c)

Comment [Oracle APEX - TinyMCE Word & Character count #JoelKallmanDay](https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c)

[Cornelia Klug](https://hashnode.com/@CKlug)

[Nov 28, 2023](https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c/comment/6565f017cda818ef51985d24)

Thank you for this useful blogpost. But how can I give an alert message when a max wordcount is reached? Can you help me?

[Louis Moreaux](https://hashnode.com/@lmoreaux)

[Dec 11, 2023](https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c/comment/6565f017cda818ef51985d24#reply-65779abc78423f6225a7cd7b)

In the last example you could add something like:

```
if (words >= 150) {
   apex.message.alert( "Limit reached!");
}
```

You will have to update 150 by your max value

[Cornelia Klug](https://hashnode.com/@CKlug)

[Dec 12, 2023](https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c/comment/6565f017cda818ef51985d24#reply-65780adba7af0fb6a9fc0263)

[Louis Moreaux](https://hashnode.com/@lmoreaux) Thank you very much, that works

[Louis Moreaux](https://hashnode.com/@lmoreaux)

[Dec 12, 2023](https://hashnode.com/posts/oracle-apex-tinymce-word-character-count-joelkallmanday/6526a9bb50da1deda6bb506c/comment/6565f017cda818ef51985d24#reply-65781a00a7af0fb6a9fccb96)

[Cornelia Klug](https://hashnode.com/@CKlug) I'm glad it works, thank you for reading my blog 🙏
