hidden fields
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.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Felix Geisendörfer on 18 Jul, 2010 09:51 AM
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
3 Posted by web2guru on 18 Jul, 2010 03:24 PM
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
Support Staff 4 Posted by Felix Geisendörfer on 18 Jul, 2010 09:34 PM
I implemented the
fieldsparameter as discussed:http://transloadit.com/docs/jquery-plugin#plugin-parameters
Let me know if that works for you : ).
--fg
Felix Geisendörfer closed this discussion on 18 Jul, 2010 09:34 PM.