Assign files Name During Upload

  • bruce@brucedill.com
  • bruce@brucedill.com's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 439
  • Karma: 1
  • Thank you received: 9

bruce@brucedill.com created the topic: Assign files Name During Upload

When submitting a file and saving it to a specific folder, a name is automatically assigned. I would like to assign the names of files submitted using data from other fields in the form. How can I do this?

Also, What is the difference between using this forum and using Discord?

Thanks you!

Bruce
#237751
  • mihaela
  • Away
  • Administrator
  • Administrator
  • Posts: 2651
  • Karma: 92
  • Thank you received: 354

mihaela replied the topic: Assign files Name During Upload

Hello,

Take a look at this piece of documentation since here crosstec.org/en/support/online-documenta...fferent-folders.html it is explained how to change the names of uploaded file and folder where the file is saved (if wanted).

There is no big difference, it is just another way to get support. You can use the channel you prefer.

For more extensive requests, I suggest you use this forum since that way all posts regarding that one topic are in one place, without messages of the other users. But you do how you prefer.

Regards,

Mihaela
#237759
  • Eddy.vh
  • Eddy.vh's Avatar
  • Away
  • Gold Boarder
  • Gold Boarder
  • Posts: 246
  • Karma: 1
  • Thank you received: 29

Eddy.vh replied the topic: Assign files Name During Upload

Hello.

Everything is explained in the documentation:

crosstec.org/en/support/online-documenta...fferent-folders.html
#237760
  • bruce@brucedill.com
  • bruce@brucedill.com's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 439
  • Karma: 1
  • Thank you received: 9

bruce@brucedill.com replied the topic: Assign files Name During Upload

Mihaela,

Would you check this for me?

researchbreeder.com/administrator

Package = Dog Owners
Form = celebratethewinnersorderp

I am trying to set the folder and the file name from data found in the form.

Folder should be determined from fields:
Magazine/year/month/page

File name is created by combining fields:
Image1 = "lastname+firstname+"image1""
Image2 = "lastname+firstname+"image2""

I sent credentials to support@crosstec.org

Thank you!

Bruce
#237784
  • mihaela
  • Away
  • Administrator
  • Administrator
  • Posts: 2651
  • Karma: 92
  • Thank you received: 354

mihaela replied the topic: Assign files Name During Upload

Hello,

Thank you for the credentials.

When I log in there is no form named "celebratethewinnersorderp" in the "Dog Owners" package.

Despite that, from what you are asking if you have fields in your form named Magazine, year, month, page, lastname, firstname then to set the path and file name as explain you should use this shortcode:
{ff_uploads}/{Magazine:value}/{year:value}/{month:value}/{page:value}|{filemask:lastname}_{filemask:firstname}_image1

Let me know whether this is working as you wanted.

Regards,

Mihaela
#237797
  • bruce@brucedill.com
  • bruce@brucedill.com's Avatar Topic Author
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 439
  • Karma: 1
  • Thank you received: 9

bruce@brucedill.com replied the topic: Assign files Name During Upload

researchbreeder.com/dog-owners/celebrate...issue-1-january-2020

I Clicked on "Buy Now" and the form appeared.
I filled out the form and selected an image for image1.
I saved the record but the file did not appear in the directory.

Please see attached

Thanks for the help
#237804
Attachments:
Moderators: ForumSupporttomeperica
Time to create page: 0.070 seconds

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans, templates and icon packs!

Get Your Subscription Here

News and Updates

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

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here