Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Java script in adobe interactive forms

Former Member
0 Likes
613

Dear Experts,

How can we write a Java script like when a button clicked on page1 it should go to page2 in sap adobe interactive forms in offline or online mode.

is this possible.

Regards,

Kartheek.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

Hello

make javascript code like this for the button :

xfa.host.currentPage = 1;                                 // Go to page 2       (0-based).

Regards

3 REPLIES 3
Read only

Former Member
0 Likes
577

Hello

make javascript code like this for the button :

xfa.host.currentPage = 1;                                 // Go to page 2       (0-based).

Regards

Read only

0 Likes
576

Thanks a lot Hicham Ka,

Its working, can we also work it to go to a particular line on page 2.

Regards,

Kartheek.

Read only

0 Likes
576

You can use this to focus on a particular field on a particular page.

xfa.host.setFocus( Page1.TextField5 );