on 01-14-2010 6:51 PM
Hi All,
In dynmic adobe forms how we will identify the first page and last page. if we have more than one page based on this condition i need to display few fields. could any one mention that how we will handle this in script.
Thanks for your responce in advance.
Hello, I wonder how did you solve your problem. Maybe you could share your solution with us here? Regards Otto
p.s.: I hope you have found the "page counter" component in your LCD library or read through this document:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is what you get, that is output from the runtime of the form. You don´t need to provide any input to get the information. That is just a name of the component, to help you find it. Or you can use the above code, as you can see, on the right side of the equal mark there is no input except "this".
Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
in the form layout, there is a form elements hierarchy. Based on this hierarchy you can tell what is the first and what is the last page. If you need to work with the page number, you can check the auto-script in the LCD - tab custom, component page n of m. Or you can script that yourself:
this.rawValue = xfa.layout.page(this); == current page number
this.rawValue = xfa.layout.pageCount(); == number of pages in the doc
Regards, Otto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.