none
Leave Request form with mulitples validation rules RRS feed

  • Question

  • Hi,

    I am new to SharePoint 2013 development. To get a hand on development I am creating a leave management system in SharePoint.  On submission of leave request form it should validate some rules normally defined by HR Department.

    Such as

    1. Annual leave request must be submitted at least before 10 day of leave Start date.

    2. Annual leave request must be less than or equal to Annual leave balance.

    3. Sick Leave request more than 2 days then attach documents.  

    And many other rules.

    How can I validate rules in one go instead of writing many IF ELSE condition in code? How can I achieve it in SharePoint? Please guide.

    Tuesday, January 10, 2017 9:55 AM

All replies