Need to pre-populate a webform with existing values using the API

Comments

7 comments

  • Andreas Haugstrup Pedersen

    Hi Tom,

    You can find documentation on our developer site. Here's a getting started article on working with items: https://developers.podio.com/examples/items

    /Andreas

    0
    Comment actions Permalink
  • Tom Urbanowicz

    Andreas - I appreciate the reference to the API docs; I'm familiar with those but don't entirely see the connection for what I need specifically. Ideally, I need to retrieve existing values from the Podio Item and display those in the webform. The resulting HTML generated by the Podio webform would be something like the following:

    <input class="text" id="field_85067723" name="field_85067723" type="text" value="Quebec">

    NOTE my example of adding the value of 'Quebec' to pre-populate the field. I can't seem to manipulate this value directly with the API calls I'm seeing (perhaps I'm overlooking them?

    Much thanks!

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Hi Tom,

    I see now. I thought you used "webform" as a generic term and not as referring to the Podio webforms. With Podio webforms you have no way to provide default values. You have to build your own form to do what you want.

    /Andreas

    0
    Comment actions Permalink
  • Tom Urbanowicz

    As an FYI, I was able to use http://advancedwebform.com to get what I needed

    0
    Comment actions Permalink
  • Sean MacGillivray

    It is possible to send values with which to pre-populate Podio webform fields in a GET request. Where "field_1234567" is the machine-readable name/id if the field you wish to pre-populate:

    http://podio.com/yourwebformURLhere?field_1234567=prepopulatevaluehere

    You can find the ID/name of the field by using an element inspector on that field in the webform itself. I've been able to set up simple catches for Paypal transaction IDs this way, but you could also create a GET request link that has a bunch of field pre-population arguments in it as well.

    -2
    Comment actions Permalink
  • Adi Burton

    I couldn't get Sean's suggestion to work, unfortunately.

    0
    Comment actions Permalink
  • Marek Hruzik

    Hi Adi,

    This blog post should help you.

    br
    Marek

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk