Hi,
How can I access a internal variable in de edit script?
Hi,
How can I access a internal variable in de edit script?
Hi Koen,
Could you describe what you mean with internal variable? The following code shows how to retrieve the value of a data field and store it in a variable (JavaScript). Subsequently we concatenate these values (separated with a space) and store the result in a variable called fullname:
var first = record.fields['firstname'];
var last = record.fields['lastname'];
var fullname = first + " " + last;
Same result in a single line:
var fullname = record.fields['firstname'] + " " + record.fields['lastname'];
Erik