MWE:
\documentclass{book}
\usepackage{tocloft}
\begin{document}
\tableofcontents
\newpage
\cftpagenumbersoff{chapter}
\addcontentsline{toc}{chapter}{CHAPTER 1}
\cftpagenumberson{chapter}
\addcontentsline{toc}{chapter}{CHAPTER 2}
Text.
\end{document}
which produces the TOC:
I thought, perhaps, that using \cftpagenumbersoff{chapter}
before the Chapter 1 entry would turn the associated page number off; and then placing \cftpagenumberson{chapter}
before the Chapter 2 entry would turn it back on. But that doesn't seem to be working.
How may I selectively turn page numbers off for chapters in the TOC?