Use Cases of Client Script - Insurance
Auto-population of data, data correction, formula computation, field validation, and custom error message
  • Requirement
  • View Solution using Client Script
The Context

ABC is a leading Insurance company in India. The company uses Zoho CRM for managing their customer relationships, and all the details of their customers are saved in the Zoho CRM. The insurance agent saves details about the policyholders into their CRM account. To add data validations, to add custom error messages, to do complex calculations, and to do data correction the company has come up with a list of requirements.


Requirement

The policyholder information is saved in a custom module named Policyholder. Date of Birth, Age, Category, first name, and last name are the custom fields in this module.

  • When the Date of Birth of the policyholder is entered, then auto-populate the field Age.
  • If the calculated age is more than 60, then auto-populate the field Category as Senior Citizen otherwise populate as Citizen.
  • If the calculated age is more than 80, then display error message "The policyholder should not be aged more than 80".
  • The first name and last name entered should be in the upper case irrespective of the case used while entering the details.
Go To Solution