Day 2
Day 2
if (formType == 2) {
function ReadValuefromField(executionContext) {
if (formContext.getAttribute("new_loancustomercity") != null) {
if (formContext.getAttribute("new_loancustomercity").getValue() != null) {
var LoanCustomerCity =
formContext.getAttribute("new_loancustomercity").getValue(); // here
new_loancustomercity is the field name
try {
if (formContext.getAttribute("new_loancustomeremail") != null) {
if (formContext.getAttribute("new_loancustomeremail").getValue() !=
null) {
var loanCustomerEmail =
formContext.getAttribute("new_loancustomeremail").getValue();
}
}
catch (e) {
Xrm.Utility.alertDialog(e.message);
}