PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Creating a leave request application

  1. I need to create some leave request functionality for one of my sites and I was wondering if gravity forms would be a viable solution.

    I need to create a form that allows a user to submit a request with beginning and end dates, leave type, leave status, a notes field and supervisor, while determining the email of the logged in user.

    Once they submit an entry, I need to be able to write a function that will email the supervisor, the submitter and another user, display entries for that supervisor based upon what status they are in and allow the supervisor to change the status of an entry. Upon editing the entry, I need to be able to send emails to 3 separate parties and the content will vary depending upon the leave status submitted. The emails will need to be able to display values from the entry that triggered the email.

    Is this something that is possible with gravity forms? Is it possible with extensive custom function writing, or with a more moderate amount of function writing?

    Posted 13 years ago on Wednesday August 3, 2011 | Permalink
  2. 1. submit a request with beginning and end dates
    Yes

    2. leave type
    Yes

    3.leave status
    Yes

    4. a notes field and supervisor
    Yes

    5. while determining the email of the logged in user
    Yes, so long as they are already logged in or you made them log in

    The above is all built in to Gravity Forms and possible without customization.

    The rest, as you said, is a function you will need to write. Gravity Forms will have collected all the information you need. Now it's your job to process it however you want. The rest sounds like a custom application, or at least custom functions using the Gravity Forms data. It's all possible. Whether it's a moderate or extensive amount of custom code depends on your definition of moderate. Sounds like a neat custom use of Gravity Forms.

    Posted 13 years ago on Wednesday August 3, 2011 | Permalink