Custom Field for file upload

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #69111 by okkhalid
Custom Field for file upload was created by okkhalid
Hello,
I was not able to find any help how to customize the custom field for file upload:
documentation.joomdonation.com/2-events-...gistration-form.html

I'm looking to create a custom field for people they must upload a resume when they register for event.
I select field type: file
Data type validation: it says max file size.

I would like to have max 5 mb file size upload
also only the following file extension will be allowed: doc, docx, txt and pdf.

Please where I need to put the extensions?

please see my configuration:

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #69112 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field for file upload
Hi

Unfortunately, that validation is used for different purpose (checking the length of the input string on form field), not used for validate file size of a field upload

At the moment, we don't have validation rule for validating size of the file upload yet

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #69113 by okkhalid
Replied by okkhalid on topic Custom Field for file upload
Thank you for helping,

Can I put the the file extension will be allowed: doc, docx, txt and pdf.

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #69114 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Custom Field for file upload
I believe it is Allowed File Types config option in Configuration of the extension

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #69116 by okkhalid
Replied by okkhalid on topic Custom Field for file upload


Sorry, I think the one you mean is the file attachment when creating events, right.

I'm looking to allow people to send off their resume when they register for event. so they can only send: doc, docx, pdf files

I'm not sure where to specify that.

Please help

Please Log in or Create an account to join the conversation.

  • okkhalid
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 6 months ago #69117 by okkhalid
Replied by okkhalid on topic Custom Field for file upload


Sorry, I think the one you mean is the file attachment when creating events, right.

I'm looking to allow people to send off their resume when they register for event. so they can only send: doc, docx, pdf files

I'm not sure where to specify that.

Please help

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc