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?
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\\";
}
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.