on 11-24-2009 8:35 AM
Hi everyone
By using JavaScript, how can I get field value in page number X at runtime?
Thanks
Thanks to all
your a replay is helpful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Assuming your page number is a variable called X the script looks as follows:
xfa.resolveNode("xfa.form.form1.Pages["X"].TextField1").rawValue
Pages is the name of the subform representing the pages of the form.
Regards,
Juergen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I can recommend you to check the JavaScript scripting guide: http://www.adobe.com/devnet/livecycle/articles/lc_designer_scripting_basics/lc_designer_scripting_ba...
Especially last chapter called "Examples of Common Scripting Tasks", last three sub-chapters working with the instance manager. Shows how can you add, delete, count, view, move instances.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why do you need page 4? Do you have a page subform repeated many times and need to access the fourth instance of this subform? Give me something I can build on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
1) sometimes you can utilize relative addressing using this (JavaScript) or $ (FormCalc)
2) you can try to write down the whole path through hierarchy like form1.myform.mysubform.myfield
3) if you know which element you will need to access in form, you can copy it in previous ABAP coding
4) if you like to "touch" a row or a page which is repeated, this can be little difficult.
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 |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.