Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
Test Screen NameCorrect answer
Legend
Feb 8, 2018 6:12 PM UTC

You want \\

Each \ has to be preceded by a backslash

That isn't what you did, you only have three.

This is not specific to Acrobat, but to JavaScript and all the C-like languages. See JavaScript Strings

7 replies

jabf64075107
Participant
Feb 8, 2018 4:49 PM UTC

Is there another forum I can ask this question?

Translate
try67
Community Expert
Community Expert
Feb 8, 2018 4:50 PM UTC

This is a better place for it, actually: LiveCycle Designer

Translate
try67
Community Expert
Community Expert
Feb 7, 2018 4:33 PM UTC

You have to escape all the back-slashes, by adding a back-slash before them.

Translate
jabf64075107
Participant
Feb 7, 2018 5:39 PM UTC

I tried: "\\\network1\\Public\\InBox\\" and  'Check Script Syntax' seems to like it - because there is no more pink line highlighting it.

But! it fails to fire the app.alert, xfa.cancelAction, and xfa.host.setfocus actions.

Is my syntax legit?

Translate