Jump to content

Rename upload file

File gc

  • Please log in to reply
No replies to this topic

#1 vhspiceros



  • Members
  • Pip
  • 4 posts
  • LocationSantiago, Chile

Posted 27 January 2015 - 05:39 PM

Dear all,
I am new in grocery crud, by the by is an incredible extension, congratulations ;)
the question is, I have one form and one field is a type File. I need change the name for the identify object, for example
I have the invoice table and one file field, i need when the user save the system should rename the file by id generate plus extension.
If I save the invoice number 18 i need save the file with name 18.pdf.
Thanks in advance.
Note: sorry by my english.


Also tagged with one or more of these keywords: File, gc

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users