Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Link to other place in form

BrotherMozus
Level 1
Level 1

How can i link to other places in my form?
I kwow i have to do it Javascript, but what code do i have to use?

Thanks Josh

1 Accepted Solution
radzmar
Correct answer by
Level 10
Level 10

Hi,

you have to use a SOM expression to a field (a object the user can fill).

The setFocus method cannot jump to a subform.

This will look like:

xfa.host.setFocus(form1.werkervaring.TextField2)

View solution in original post

4 Replies
Jono_Moore
Level 10
Level 10

You can use setFocus() to jump to different fields.

xfa.host.setFocus(path.to.field);

BrotherMozus
Level 1
Level 1

I tried 3 different ways, but couldn't succeed. Can you have a look at the Pdf please, i tried the 3 upper buttons:

http://www.mijnbestand.nl/Bestand-SD6TUJW3CGJO.pdf

Thanks for your help, if i only have one button working, i can fix the rest

Josh

radzmar
Correct answer by
Level 10
Level 10

Hi,

you have to use a SOM expression to a field (a object the user can fill).

The setFocus method cannot jump to a subform.

This will look like:

xfa.host.setFocus(form1.werkervaring.TextField2)

View solution in original post