RANT ***
I'm sure Microsoft is well aware of the problem but most people don't use Sections and those that try it usually wind up going to another vendor.
*** More RANT
Most regular users of Word do use Sections, I suspect. They may not be aware that they are doing so, but they do.
*** More Rant
Anyway, my workaround does not require macros or programming.
***
That is quite the workaround! You have not identified the problem that your workaround fixes. If you did, chances are good that someone here would point you to a simpler fix.
The Page field works the way it always has and works as designed. Page Numbers in Word 2007-2016
It allows restarts, from one, or from another page.
Sections are not broken. They are somewhat complex. Most people never see the complexity or run into problems. When they do, they need to learn more about how Sections and page numbering work.
The fix for problems with page numbering involves finding and examining each section for a page number restart and making sure that it becomes continuous. People never encounter this problem unless they (1) restart page numbering in some section and (2)
add sections after that. Then it does come up. Vba is not required to do this, but can assist. Even doing it manually, though, seems much less work than your workaround. I have lengthy, multi-section templates that I wrote 20 years ago that are still working
and editable today. If I had put your hidden fields into one of those, I probably would be lost.
I would strongly advise against anyone using the workaround you propose. I'm glad it works for you, but to me it unnecessarily complicates things. To say that field codes are not programming is, IMO, mistaken. It is not vba; it is not macros, but it is programming.
To me, it is somewhat a miracle that this 30+ year-old program works as well as it does. Microsoft does its best to hide the complexity from the user. Most of the time, this is good. Some times, it leaves users confused. They try to sell it as a simple program,
and it is not. It really does take study and training to use effectively and fully. Most people never try to use it fully. They want to write a letter or a report and it works.
As for vba solutions, there are the macros posted here; I have an Add-In on my site that allows a user to reset page numbering to continuous throughout (like the posted macro) at the push of a button.
Continuous Page Numbering Add-In

In addition, Shauna Kelly worked out some code which has been molded into a vba Add-In by several of the volunteer MVPs here. It is on Lene Fredborg's site as
Word Toolkit for Advanced Management of Word Headers and Footers. It makes it relatively easy to examine each section in a document. It shows sections which display no headers or footers because they are in the middle of a page.
