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.

Use customer number to populate form

  1. Would like to have the form automatically call customer name, information, and other database info (to be created) when a customer number is entered... I'm kind of a PHP novice, so I would appreciate ANY help.

    Form is located at: http://imaginemediasolutions.com/businesscards

    I haven't constructed the customer database yet, so I figured I'd ask for help before I started that, so that we can be as efficient as possible.

    Posted 13 years ago on Tuesday March 15, 2011 | Permalink
  2. Gravity Forms by default stores entry data in it's own database tables with your WordPress database.

    If for some reason you need to store the form data in a 3rd party database such as one you create yourself, you can use API hooks and write custom PHP code to do so when the form is submitted.

    Here is a forum post that discusses how to integrate a form with a 3rd party service or database. You would use the gform_post_submission and access the Entry object to get the values, you would then have to write your own PHP code to store the values wherever they need to be stored.

    http://www.gravityhelp.com/forums/topic/sms-api-gateway-need-help-to-get-gform-to-integrate#post-18087

    Posted 13 years ago on Tuesday March 15, 2011 | Permalink
  3. So how could I use one gravity form to populate another? :-D

    Pretend like I'm a PHP moron. In fact, don't pretend.

    Posted 13 years ago on Tuesday March 15, 2011 | Permalink
  4. You'd have to write custom code to interact with your custom database. I don't know the particulars about your database and server setup to provide you with instructions to get you started and this is a customization.

    What you want to do pretty much requires PHP knowledge, trying to do so without it is going to be problematic. It's not the same as providing instructions on styling your forms by assisting with some custom CSS, the PHP involved is much more involved.

    Posted 13 years ago on Tuesday March 15, 2011 | Permalink