Let's assume you have an Employee Management application. In that you have a Leave Request form that the employee uses while updating leaves taken or to be taken. The form includes the employee's name and ID fields, leave type field, date field, and reason field. The leave type field has Sick Leave, Vacation Leave, Personal Leave, On-Duty, and Maternity Leave as options. The Reason field is not mandatory, but you need the employee to fill that field if the selected leave type is On-Duty. You can achieve this by writing a script for on validate event. Your script will state that validate if leave type is On-Duty. If it is selected, display a message saying it is mandatory to enter reason. So while using this form, if the employee selects On-Duty and tries to submit the form without filling the Reason field, the workflow is run and the message stating, "Reason field needs to be filled if the selected leave type is On-Duty," will be displayed.
Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.
If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.
Write to us: firstname.lastname@example.org
Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.
Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.
Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.
Make the most of Zoho CRM with these useful tips.