I'm currently using the "Gform after submission" hook, however no matter what I do I can't seem to access any information that is passed to the function.
I've tried using rgpost('input_1_25') and I've also tried at using $entry[1] but both are just returning blanks / null values.
Am I missing something?
Basic walkthrough of what I'm trying to do...
User fills out a competition entry form
They select whether they want to share with friends using facebook, or email.
Submit the form
The "after submission" hook is run and checks to see what their choice was
If it was facebook it accesses facebook api
Otherwise if it was email it loops and sends emails to all the people listed.
Like I said, everything works except for accessing any of the data entered, surely I'm missing something!