Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 119881

Re: trying to concatenate the address fields as below using javascript

$
0
0

Try something like this:

 

this.rawValue = xfa.resolveNode("#subform[1].CAOName").rawValue + "\n" + xfa.resolveNode("#subform[1].Addr1").rawValue + "\n";
if ((xfa.resolveNode("#subform[1].Addr2").rawValue) != null) {    this.rawValue = this.rawValue + xfa.resolveNode("#subform[1].Addr2").rawValue;
} else {    this.rawValue = this.rawValue + xfa.resolveNode("#subform[1].City").rawValue + xfa.resolveNode("#subform[1].State").rawValue + xfa.resolveNode("#subform[1].Replyzip").rawValue
}

Viewing all articles
Browse latest Browse all 119881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>