Need to pre-populate a webform with existing values using the API
Hoping someone has solved this problem... I have a webform and I'm using the Ruby API. My workflow is that after a user completes some of the fields and submits the form, the user needs to return to the form to complete additional fields. We need to do the following:
- When the form is submitted initially, create a unique URL (this could, for example, use the Podio Item ID)
- When the user returns to the form via the unique URL, use the API to retrieve Podio Item values previously submitted into the form.
- When the user updates the form, update the Podio Item with the new/updated values.
Anyone able to help? Thanks!
-
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
-
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!
-
As an FYI, I was able to use http://advancedwebform.com to get what I needed
-
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.
-
Hi Adi,
This blog post should help you.
br
Marek
Please sign in to leave a comment.
Comments
7 comments