custom fields in form (for cross reference with a logged in user/order in our database)

Archived from the Transloadit support forum. Originally posted on January 11, 2013; details may be outdated, see our docs for current behavior. Original thread

Hi,
Is it possible to have custom fields whereby we could populate them from our CMS / shopping cart?
I’m looking for a reliable way to handle file uploads within a CMS / shopping cart. A current project for an online print service whereby the checkout process needs to allow for artwork files (pdf possibly large) to be uploaded during the checkout. The problem is how best to integrate and cross-reference.

many thanks

Hey Phil,

yeah that’s totally possible. Just specify “fields”: true as a parameter to our jQuery plugin and then all other form fields are also submitted to transloadit.

You can then access them in your assembly (or your notification POST data) using ${fields.[fieldName]}.

Here is the documentation for this: https://transloadit.com/docs/passing-fields-and-variables-into-templates

Please let me know if this helps.

kind regards,
Tim

Co-Founder Transloadit
@tim_kos