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.

Petition Form, show entries on frontend (ajax)

  1. Before I buy GF I need to know if it can do the following:

    I need to set up a petition form. Below the form I want to display all (or the xx latest) entries of that form (see who signed the petition). I'd ideally like the form to update dynamically upon submission, using ajax.

    Can this be done with GF (out of the box, or by calling some functions)

    I'm hoping for a shortcode version (mybe without ajax) where I'd put something like this on my page:

    Sign the Petition here:
    [gravityform id="1" name="Petition"]

    See who signed:
    [gravityform id="1" name="Petition" output="entries" limit="20" order="date" sort="desc"]

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  2. It's not built in, but it can be done. You can accept the form submission. Once the form is submitted, you could run some code to pull out a list of all the people who have previously signed. I can help you with getting the entries out, in a list, but I'm not sure how to hook it so that it updates automatically after the form is submitted. I'd have to think about that one.

    It can be done, but it will require some customization. It's not built in functionality. There are no shortcodes currently to pull out entries like that (although I have written a couple.) Please let me know if you have more questions before you make your purchase.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  3. ok, thanks.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink
  4. Once you've made your purchase, be sure to ask for help if you need it and we'll point you in the right direction.

    Posted 12 years ago on Wednesday August 8, 2012 | Permalink

This topic has been resolved and has been closed to new replies.