How to write the php webhook code for Full Name?

  • Profile Image
    Asked on September 14, 2013 at 03:59 PM


    The code sample found here: provides a good implementation of what I need.

    It works fine but I want I seem to have an isssue with the NAME field. How would I pull first name only in the example provided in the pastebin.

    I tried this: $obj['q1_name[first]']

    I used Requestbin to find the actual values for my form but I cannot figure this out. Actually the name field just does not output anything for me yet. Trying to troubleshoot. 

  • Profile Image
    Answered on September 14, 2013 at 04:36 PM

    Replace it with


    This should work. Make sure to put the index "first" or "last" (for lastname) at the end part.