⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Update field after callback_after_upload



ravenwish

ravenwish
  • profile picture
  • Member

Posted 02 August 2012 - 21:20 PM

Hi,

I've been searching for a long time for a way to rename the uploaded file in the callback_after_upload,
but now that i found it I have another problem which, after all my research, I haven't found the way to fix...

After I rename the uploaded file, I want to update the field on the form with the new file name...
Because, else, the old name stays in the field, it gets in the database and then I get lots of problems to get the picture back...

A simple question that creates a lot of brain-heating for me ;)

Thank you in advance.

juanmoras

juanmoras
  • profile picture
  • Member

Posted 19 June 2013 - 14:18 PM

anyone?


victor

victor
  • profile picture
  • Member

Posted 19 June 2013 - 23:44 PM

I haven't seen the JS which do this, but i think It's possible to change the js to make it work well. But I'm not sure.