Hi I am trying to get pagecount in livecycle designer es4
this.rawvalue = xfa.layout.pageCount() - at the layout:ready
but i am not getting any value for the field on the form.
but when i am trying to get the current page by writing
this.rawvalue = xfa.layout.page(this) - at the layout:ready it showing up correctly.
can somebody let me know if there is something wrong on the pagecount method i am using.