Hi,
You can use the xfa.layout.pageSpan(object) method to work out how many pages a form object spans. The trick would be to work out when to use it, it wont have been updated yet in the exit event. You could put it in the layout:ready event of the text field but you want to be careful using the event as it can be fired a lot.
Good luck.
Bruce