Jump to content

Update field after callback_after_upload

  • Please log in to reply
2 replies to this topic

#1 Nico



  • Members
  • PipPip
  • 11 posts
  • LocationQuebec, Canada

Posted 02 August 2012 - 09:20 PM


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.
-- Nico --

#2 juanmoras



  • Members
  • Pip
  • 4 posts

Posted 19 June 2013 - 02:18 PM


#3 victor


    grocery CRUD Hero

  • Advanced Member
  • PipPipPip
  • 967 posts
  • LocationMinsk

Posted 19 June 2013 - 11: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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users