Open full view…

Gravity Forms integration

Sat, 15 Sep 2018 16:36:24 GMT

We currently use Gravity Forms on our WordPress site for adoption applications. Once an application is submitted, a PDF copy gets emailed to our shelter and someone has to manually create a new user in ASM then upload a copy of the application as a media file. I am looking for a way to automate this. Gravity Forms does allows for Web API calls to get new form submission from either PHP or Javascript calls. I was wondering if I created an online adoption form on our ASM site, is it possible to map the JSON response from Gravity Form to populate the ASM form fields and create a user that way and then attacth the PDF file as a media file or would I have to recreate the entire adoption form on ASM and map them one to one from the Gravity Form fields? Any other suggestions are welcomed if you anyone knows of another way to do this. Than you in advance!

Sat, 15 Sep 2018 17:01:54 GMT

I don't know how much flexibility gravity forms gives you. One approach that might be possible is to create the form in ASM, view source to get the action attribute from the form and the name attributes from all the form fields and use those with your gravity forms to make it send to ASM's post handler.

Sun, 12 Sep 2021 21:55:28 GMT

Hi Support Team, I am working with another shelter that has used the above method to successfully integrate Gravity Forms with Shelter Manager. While the use submission successfully makes it from our website and into ASM, we are trying to automate the list of adoptable animals that appears in the adoption form on our website such that it auto-refreshes and is always current with our list of adoptable animals in ASM. As an example, in ASM forms, the question "which animal are you interested in?" always shows animals currently available for adoption. We would like to have this auto-refreshing list available in our adoption form (via Gravity Forms) on our website. How does ASM generate the list of adoptable animals for its forms, and can we use similar code for the same effect in Gravity Forms?

Mon, 13 Sep 2021 08:58:57 GMT

SM injects the list into the page when it generates the form at the backend. You won't be able to do this. There is a service API call you can make to retrieve the list of adoptable animals as a JSON document, which you could use to populate a list.