...
Code Block |
---|
var totalAssets = TotalAutoValue.value + TotalBankValue.value + TotalRealEstateValue.value; BasicSummaryMsg.value = "<b>Name:</b> " + FirstName.value + " " + LastName.value + "<br/>" + "<b>Phone:</b> " + Phone.value + "<br/>" + "<b>Email:</b> " + EmailAddress.value; if (MilitaryOrCivilian.value === 'Military') { //Military DetailedSummaryMsg.value = "<b>Military Info:</b><br/>" + "Military ID: " + MilitaryID.value + "<br/>" + "Rank: " + Rank.value + "<br/>" + "CurrentTitle: " + CurrentTitle.value + "<br/>" + "Years of Service: " + YearsOfService.value + "<br/>"; } else if (MilitaryOrCivilian.value === 'Civilian') { //Civilian DetailedSummaryMsg.value = "<b>Civilian Info:</b><br/>" + "SSN: " + SSN.value + "<br/>" + "Current Employer: " + CurrentEmployer.value + "<br/>" + "Current Title: " + CurrentTitle2.value + "<br/>" + "Start Date: " + StartDate.value + "<br/>"; } FinancialSummaryMsg.value = "<b>Total Assets:</b> $" + totalAssets + "<br/>" + "Total Bank Assets: $" + TotalBankValue.value + "<br/>" + "Total Real Estate Value: $" + TotalRealEstateValue.value + "<br/>" + "Total Auto Value: $" + TotalAutoValue.value + "<br/>"; |
...
Code Block |
---|
var acctSummary = ''; for (var i = 0; i < Account.value.length; i++) { if (Q[i].value > 0) { acctSummary = acctSummary + 'Account #' + i + ': ' + Account[i].value + '<br/>'; } } Summary.value = acctSummary; |
...
Code Block |
---|
if (nickName.value.length > 0 ) { nickNameThankYou.visible = true; } else { nickNameThankYou.visible = false; } |
Visible/Invisible Section
...