Hi!
I have a wordpress site with multiple events and every event has a different form. I need to send the email address to another database with an API. I used the gform_after_submission function, its working fine, but heres the problem:
I need to send 3 values with the API, email address, first name and last name. I can request these with the entry object, like $entry["1"]; for the email address and $entry["2"]; for the first name, however, because i have multiple forms, these IDs might be different and i don't want to create the same function for every form.
Any idea how can i make this easier?