How could I program to rename the file

  • DAVIDPL
  • Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 68
  • Thank you received: 0

DAVIDPL created the topic: How could I program to rename the file

I have a breezingform form, which has a submit field file.jpg, when the user loads the file, it is called file.jpg, but I want the file to be renamed before sending the form to the server, calling it
cb_fotocarnet_3153_club.jpg.

How could I program to rename the file.
#240864
  • TheMuffinMan
  • TheMuffinMan's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 8403
  • Karma: 164
  • Thank you received: 669

TheMuffinMan replied the topic: How could I program to rename the file

Hi,

you cannot rename files before uploads using scripting languages like javascript, the security mechanisms of browsers prevent you from doing this.

BreezingForms however gives you the opportunity to organize files and foldernames after upload. It might not match your file name scheme 100% but will help on organizing them.

Here are examples of the file/folder name masking:

crosstec.org/en/support/online-documenta...fferent-folders.html

Regards,
Markus

===========================
If you are happy, please leave us a small review here to keep us motivated:
(Please turn off your VPN and local Apache prior reviewing as your review might get blocked)

⭐⭐⭐⭐⭐ BreezingForms: extensions.joomla.org/extension/contacts...orms/breezing-forms/
⭐⭐⭐⭐⭐ ContentBuilder: extensions.joomla.org/extension/authorin...tion/contentbuilder/

===========================
Satisfied?
Get a membership!
===========================
#240906
Moderators: ForumSupport
Time to create page: 0.037 seconds

We Are Doing Our Part

Massive discounts on all of our extension subscription plans to help you and your business in these times.

Get Your Subscription Here

New Icon Packs Category!

Crosstec is now offering icon packs.

If you are a paying subscriber, icon packs are automatically added to your account.

Check out our icon packs page!

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

We are doing our part and support your business with extremely low prices -- For example 6-Months-Subscription for only $9 USD. For as long as necessary.

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!