Hi alex, ty for the answer.
i've already tried this way, it works but it left a white space on the footer of the first page(or every page but last)
I need that the pages(but last) should be "written" until the end of the page
I even tried to put that "conditional" object not in the footer, but in the bottom of the content, it works but i can set it to be printed on the bottom of the last page in every case
is it possible?