Solved

Live cyle, getting pagecount in javascript

Posted on 2014-09-22
3
157 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
Koushik Anna earned 0 total points
ID: 40336918
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
ID: 40337029
you can now close the question by accepting your own answer, thanks
0
 

Author Closing Comment

by:Koushik Anna
ID: 40356570
wrong syntax
0

Featured Post

Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

705 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