Avatar

Level 3

I'm using LCD (most recent version) and I'm having trouble building a string -- obvious newbie! :slightly_smiling_face:

I have a field called PrimaryEmailAddress where the user specifies their email address.

I have created a button, when clicked, will open a URL and pass the email address as a parameter.

Using Javascript, I though I could do the following:

var cTheEmail = PrimaryEmailAddress.rawValue

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

app.launchURL(cTheURL);

Suffice it to say, but this does not work and I think it has something to do with how I'm filling cTheEmail variable.

What am I doing wrong?