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.

api example

  1. Can you provide a hint of direction where our programmers need to start on hooking a field to a database value? We need the ability to prepopulate a field based on an external script. We are trying to build a coupon code plugin for gf. If you could just show me where to start at inserting data into a pricing field, we should be able to resolve this coupon need. We will be happy to share the results with you and everyone else.

    We have a php script that collects the coupon code and can insert it into our current system.

    example_site.com/affid.php?save5now

    save50now has a value of $5. So we need to populate a pricing field and report the coupon name. thats it :-)

    Just show us where to start and we should be able to take it from there.

    Posted 12 years ago on Thursday July 21, 2011 | Permalink
  2. Here is a tutorial that discusses how to dynamically populate a form field:

    http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population

    All of our API hooks and filters are documented here:

    http://www.gravityhelp.com/documentation/page/Developer_Docs

    If you are using the PayPal Add-On, all of it's hooks and filters are documented here:

    http://www.gravityhelp.com/documentation/page/PayPal_Add-on_Developer_Docs

    If you have any specific questions just ask and we can let you know which hook you would want to use.

    Posted 12 years ago on Thursday July 21, 2011 | Permalink