JavaScript |
function OnFocusedCardChanged() {
cardView.GetCardValues(cardView.GetFocusedCardIndex(), 'FirstName;LastName;HomePhone;Title;Notes', OnGetCardValues);
}
function OnGetCardValues(values) {
var editors = [FirstName, LastName, Phone, Title, Notes];
for (var i = 0; i < editors.length; i++) {
var editor = editors[i];
editor.SetValue(values[i]);
}
}
|