Hidden fields

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

I am using a template for a basic image resize and S3 drop, but I need to be able to pass hidden params, so that the notify response you send carries these fields.
I see you have a fields {} section, however I am unsure how to adjust it.
I tried using a number standard hidden fields in the HTML with the from and I use the jquery plugin, but that doesn’t seem to pass it.
Then I thought I could add it to the template itself? However each time the jquery plugin is used a session is writing some unique info to the page, and that is the info I need, i.e it is dynamic data that I need to get into this transloadit from so it can be passed upon notification, If I use a template it is hard coded right? Any guidance would be appreciated.

Hey Eddie,

the ‘fields’ parameter currently only works when you’re not using the jQuery plugin. I will work on adding an option to the jQuery plugin: {fields: true} that will send all your fields with the upload, as well as a {fields: 'selector'} option if you only want certain fields to be included.

--fg

That would be awsome, please let me know when you have done this, I am sure many other people need this feature too.

I implemented the fields parameter as discussed:

http://transloadit.com/docs/jquery-plugin#plugin-parameters

Let me know if that works for you : ).

--fg