Solved

Live cyle, getting pagecount in javascript

Posted on 2014-09-22
3
142 Views
Last Modified: 2014-10-02
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.

thanks
de1209
0
Comment
Question by:Koushik Anna
  • 2
3 Comments
 

Accepted Solution

by:
Koushik Anna earned 0 total points
Comment Utility
Got it , i is because i copy pasted

this.rawvalue  
but it should be
this.rawValue  , it worked.
0
 
LVL 82

Expert Comment

by:leakim971
Comment Utility
you can now close the question by accepting your own answer, thanks
0
 

Author Closing Comment

by:Koushik Anna
Comment Utility
wrong syntax
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

I'd like to talk about something that is near and dear to my heart: build systems. Without them, building software is all about compiling locally, with software versions everywhere. It can be a mess. Today we are going to discuss building a small di…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now