-1

I'm trying to populate a field with a simple script:

var a =""
if (this.getField("Check Box7").value == "Yes")
{
a='""\\\\server\\\share\\\""'
}

which yields this result: "\\server\share\" I need this result: \\server\share (so no quotation marks)

How can I obtain this result?

knuckle_sandwich
  • 207
  • 1
  • 6
  • 12

1 Answers1

0

This input will give the required output, as specified in the initial question:

var a =""
if (this.getField("Check Box7").value == "Yes")
{
a="\\\\server\\\share\\";
}
knuckle_sandwich
  • 207
  • 1
  • 6
  • 12