cancel
Showing results for 
Search instead for 
Did you mean: 

User want to JUMP directly to a specified section, say Section 2

former_member202077
Participant
0 Kudos

Hello

I am developing a adobe Interactive Form, as below,

  MY_FORM
+Section 1+         *Press Here to GoTo Section 2*
Input_Field_1
Input_Field_2

+Section 2+
Input_Field_3
Input_Field_4

My requiremnt is, if user pressess the 'GoTo Section 2' then, user has to JUMP directly to the Section 2 area, pls. let me know how to get it done? and then how user gets back to Section 1?

Thank you

Accepted Solutions (1)

Accepted Solutions (1)

vaibhav_tiwari
Contributor
0 Kudos

Hi,

You can do it by using setFocus() method in formcalc.

Use following script on click event of the button in section-1 to go to section-2:

$host.setFocus("<full path of Object2>")

On the section 2 create a button to return back and write below code on click event:

$host.setFocus("<full path of Object1>")

Regards,

Vaibhav

former_member202077
Participant
0 Kudos

Thank you.

Pls. let me know in Java script. And is it okay that can i use FormCalc and Java Script in combination (based on my comfort) in the same Adobe Interactive Form

vaibhav_tiwari
Contributor
0 Kudos

Hi,

For scripting references in ALD you can go through below links:

http://help.adobe.com/en_US/livecycle/9.0/designerHelp/index.htm

http://help.adobe.com/en_US/livecycle/9.0/LiveCycle_Designer_Scripting_Basics.pdf

Please first search here for the code in javascript or formcalc and if you don't get the answer then post it on SDN.

You can use formCalc and JavaScript both in the same form but in an event you can choose only one of them to code.

Regards,

Vaibhav

Answers (0)