Avatar

Level 3

var cTheEmail = ecPrimaryEmailAddress.rawValue;

var cToPass   = 'http://www.MyWebsite/MyUpload?email=' + cTheEmail ;

app.alert(cToPass);

If I execute the above, when I click the button, nothing comes up.

If I replace the cTheEmail Variable with the following: var cTheEmail = xfa.resolveNode("ecPrimaryEmailAddress");

then the following alert pops up,

http://www.MyWebsite/MyUpload?email=null

Note that I DO have a value in the primary email address.