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.

How can I add a new action for form entries?

  1. Hi there,

    I am using GravityForms for accepting bookings.

    I need the admin to be able to approve / disapprove these bookings and then, export them into a JSON format and use jQuery FullCalendar to render these as a booking calendar.

    How can I add an appropriate field to the entries? And how can I add approve / disapprove action to the entries?

    And how can I get a list of entries of a form for approved entries?

    Best Regards,

    Ashish.

    Posted 11 years ago on Wednesday April 24, 2013 | Permalink
  2. David Peralty

    What you are looking to do is well beyond the support we can offer here as you are looking to completely customize Gravity Forms. You would have to hire a developer to do this kind of work for you. We have a job board section on these forums where you can post such work, or I recommend sites like odesk.com.

    Gravity Forms doesn't have a built-in way to truly approve or deny bookings. Nor does it have a way to export based on criteria, nor does it have a way to build a JSON formatted export.

    Posted 11 years ago on Wednesday April 24, 2013 | Permalink
  3. Thanks David. I am a developer myself and will try and figure things out.

    Reason for doing all this is there is an unofficial add-on that can post from Gravity Forms to Google Calendar. But it is a bit patchy. So we are developing our own calendar page using jQuery fullcalendar.

    Looks like I will just need to reverse engineer that add-on and then, instead of sending the data to Google Calendar, simply set a flag in the table. And the php json_encode should be sufficient to provide the output we need for the jQuery fullcalendar.

    I am a bit surprised as I expected a link...something like - here you go, here is how you do it.

    Anyway, thanks all the same.

    Best Regards,

    Ashish.

    Posted 11 years ago on Wednesday April 24, 2013 | Permalink