// JScript source code
var msg = "Form type = " + formType +
"\r\nObject Type Name = " + parentForm.ObjectTypeName +
"\r\nObject Type Code = " + parentForm.ObjectTypeCode +
"\r\nObject Id = " + parentForm.ObjectId;
alert(msg);
if
(parentForm.ObjectTypeName == "account") {
msg = "Account name = " + parentForm.all.name.DataValue +
"\r\nCustomer Type = " + parentForm.all.customertypecode.SelectedText;
alert(msg);
}
|