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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

How do I redirect to a URL with JavaScript on submit in Adobe LiveCycle

JosephDoggie
Level 4
Level 4

How do I redirect to a specific URL with JavaScript upon submit in Adobe LiveCycle?

I already have the code in place where the submit event is handled, and just need the specific code to do the redirect.

Standard asp.net-style redirects such as

windows.location.replace(http://myURL.com);

do not work.

Any help would be appreciated.

1 Accepted Solution
Magus069
Correct answer by
Level 10
Level 10

To be able to redirect a website with a submit button, you must have a custom submit button and insert the following line:

app.launchURL("www.url.com");

View solution in original post

2 Replies
Magus069
Correct answer by
Level 10
Level 10

To be able to redirect a website with a submit button, you must have a custom submit button and insert the following line:

app.launchURL("www.url.com");

View solution in original post