I'm trying write a small script to make field invisible when the current page equals the total number of pages, but with no luck.
Can anyone advise how to do this?
I've tried various ways to reference my fields, this being the most basic:
if(pageNumber == totalPages) {
continuedBase.presence = "invisible";
}
// pageNumber has a run time property as "Current Page Number"
// totalPages has a run time property as "Number of Pages"
// continuedBase is a text field within the same subform as pageNumber and totalPages
Thanks for any help offered.
Russell