hidden fields

Eddie Ryan's Avatar

Eddie Ryan

17 Jul, 2010 05:10 PM via web

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.

  1. Support Staff 2 Posted by Felix Geisendörfer on 18 Jul, 2010 09:51 AM

    Felix Geisendörfer's Avatar

    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

  2. 3 Posted by web2guru on 18 Jul, 2010 03:24 PM

    web2guru's Avatar

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

    Sent from my iPhone

  3. Support Staff 4 Posted by Felix Geisendörfer on 18 Jul, 2010 09:34 PM

    Felix Geisendörfer's Avatar

    I implemented the fields parameter as discussed:

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

    Let me know if that works for you : ).

    --fg

  4. Felix Geisendörfer closed this discussion on 18 Jul, 2010 09:34 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

05 Feb, 2012 09:50 AM
04 Feb, 2012 06:57 PM
03 Feb, 2012 01:57 PM