Hide button when greater than page count
hello all,
i am very new to coding in javascript, but have experience in others. anyway basically i am trying to get a form to have a button, and when pressed it genterates template pages. this part i have completed so far without an issue. but what i would also like to do is once it generates those pages, hide the "Create" button so no more pages can be added, unless all additional pages are removed, then the button is visible again. is this possible at the document level javascript by chance?
