I’ve tried multiple Gravity Form hooks and filters to solve my issue.. to no avail.
Background: I’m creating a website for a client that utilizes several gravity forms:
Logically, the steps flow like this:
1) The user (subscriber) fills out Form 1 and submits information to the website.
2) This information goes into a queue (a row on Table 1), waiting for my client (admin) to view the next time he logs into the website.
3) Once my client views the information (Table 1), he clicks a link (corresponding to the appropriate row in the Table 1 queue) to Form 2 where he can add additional information that is then combined with the original information into one form.
4) Once this final form is submitted, the subscriber gets an email notification, a PDF is created, etc.
My issue is combining the subscriber Form 1 submitted information with the admin’s additional added information on Form 2. My strategy so far to get the submitted info from Form 1 into Form 2, is to use the Form 1 form_id and entry_id to look up the right entry to dynamically populate part of Form 2 (the other part is input by my client). I can dynamically populate fields in Form 2 with standard PHP variables or php strings using add_action and filters in my Theme’s function.php file, but I can’t figure out how to get Form 1 specific entry details to dynamically populate.
For instance, Form 1 has name, email, and phone fields. How do I get those fields to dynamically populate in Form 2 when Form 1 doesn’t submit to Form 2?
If Form 1 submitted directly to Form 2 it’s no problem – use the standard dynamic population options.. but in my case, Form 1 submits, then I have a queue (Table 1) where my Client can view all the Form 1 entries, then need to populate some fields in Form 2 where my client can fill in more fields and submit all this info combined in one form.
Can someone offer some advice?