Questions tagged [adobe-javascript]
32 questions
-1
votes
1 answer
How to add a period after middle initial in full name build
I am trying to build a full name from three fields (First, MI, and Last). If the middle initial field is blank, I do not want a period to appear in the assembled name. My code is below and when the MI field is blank, a period still appears between…

rjplante
- 1
- 3
-1
votes
1 answer
Adobe Javascript: escaping backslashes and quotation marks
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…

knuckle_sandwich
- 207
- 1
- 6
- 12