44

Product Tip: How to use validations in Kissflow to create restrictions in your leave request form

Hereโ€™s a quick video explaining how you can use Kissflow validations in your leave request form to restrict users from submitting leave applications when they fail to meet specific requirements. Learn how you can implement this in your organization based on your requirements.
https://www.loom.com/share/3b5810f8b24e4aa8a6fbfe58ca6bf673

  1. First, create a Rich text field and fill in the eligibility criteria details for personal and vacation leave so the employee knows the criteria.
  2. Then add a dropdown field with the different leave types and a hidden Date Limit field to determine the earliest date an employee can avail of a leave.
  3. To achieve this, we can compute the field using the IF() operator, with the formula if(Leave_type = "Personal," today() + 3, if(Leave_type = "Vacation," today() + 10, today())). This field will be computed based on the formula every time a new item is created. 
  4. Now, in the leave Start date field, add 2 validations: The date should not be in the past and should be Greater than the date in the date limit field.
  5. For the first validation, Set a custom error message: Start date cannot be in the past.
  6. For the second validation, choose the Date limit field and set the custom error message as: You do not meet the eligibility requirement. Please read the requirements mentioned above.

Don't forget to react to this post if you found this helpful.๐Ÿคฉ You can leave your questions regarding this use case in the comments, and we'll help you.๐Ÿ˜

Content aside

  • 44 Likes
  • 2 yrs agoLast active
  • 9Replies
  • 240Views