I'm currently working on some paypal integration for a site running on ProcessWire, and it's utilizing FormBuilder for form submission. What I'm attempting to do is get something that I can use as reference from the submitted form (upon a successful insert) to use for linking into a paypal payment.
Is there any way to get the return of $forms->load()->render() to also return the information of the form INSERT as well as the HTML without much source modification, or perhaps with the 'Success Message' editForm Output tab, include the inserted item's id? (I see it makes comment about "To display text from a field on another page, enter: /path/to/page/:field or id:field", but that seems to imply pointing to pre-existing items that you have an id for, not pulling the inserted item's id/fields).
Also slightly unrelated to this but also curious about. Are there any potential drawbacks to adding a new column to the forms_entries table, or will the framework more or less disregard it without problem?
(Sorry if this is the wrong place, I saw some references to a FormBuilder forum but I'm not seeing it here or links to it :x)
Edit: It looks like $forms->get() might be the way I want to go, but it's designed around returning all forms it looks. Is there any way to get $forms->get() to return the most recent item?