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
February 8, 2018

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
February 8, 2018

Is there another forum I can ask this question?

Translate
try67
Community Expert
Community Expert
February 8, 2018

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

Translate
try67
Community Expert
Community Expert
February 7, 2018

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

Translate
jabf64075107
Participant
February 7, 2018

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