πŸŽ„πŸΎ We’ll be spending time with our families from December 24th to January 1st. Wishing you a joyous, safe, and peaceful holiday season, and we look forward to embracing a bright New Year together! β˜ƒοΈ Much love from the TendenciDEV Team πŸΎπŸŽ„

 

Security Risks and Information

The first thing to take note of when allowing file uploads in custom forms is your target audience. Is this form going to be anonymous, user only, or administrator only?

Allowing anonymous people to upload files can be a security risk. John Doe could easily upload a Microsoft word document that contains a virus or worm. Please be careful with anonymous forms that can upload files. If you don't have a virus scanner you can use AVG Free Edition as a good, non-resource hogging alternative to Norton or McAffee. If you are unsure about anonymous forms then try using a site user or administrator only form as a safe alternative and let your users know that they need to register/login before they can fill out the form.

All that said, lets move on to adding a form with file upload capability.

Allowing File Uploads

Note: file uploading currently will not work with a donation form. This is due to invoicing and payment conflicts.

Travel to http://www.<yourwebsite>.com/forms/ to begin adding a form.

At the bottom of the screen where you are specifying the form fields, you will have the option to add a Field with the Field Type of File Upload. 

**It is strongly recommended that you enable Captcha to protect you from malicious file uploads. You can enable Captcha by going to your Site Settings and setting the Use Captcha setting to True. This is to ensure that anonymous forms are filled out by a human and not a bot.**

Congratulations, your form is now ready for file upload capability!

Uploading a File

When the user clicks the Select File button, they can upload any of the following file types:

  1. Microsoft Word Document (DOC, DOCX)
  2. Text File (TXT)
  3. Adobe Acrobat PDF (PDF)
  4. Images (JPG, JPEG, GIF, TIFF, TIF, BMP)

Reviewing the Form with Uploaded File

If you are listed as a Form Recipient, you will receive an email stating that someone has filled out the form and you may view the submission by using the links provided in the email. You can also go to the Forms module and view or export the form entries. When you export Entries for your Custom Forms, you will have the option to Export with or without the uploaded files.

 

Adding File Upload Field to your Form

  1. Go to Admin Backend
    Admin Backend 

  2. Scroll down to the Form section and click on "Forms"


  3. Then click on "Edit" next to the form you wish to add the file upload field or create a new one by clicking on "Add Form".

  4. Scroll to the bottom to the Fields section. Click on the Type dropdown and select File Upload. Add a label suited to the type of file you are looking for. FOr example: if the file is a resume, then on the Label field write "Insert Resume". 

     Form Field File Upload

 

If you want to add more fields, click on "Add another Field" located under the last field.  

 

Still Looking for an Answer? 

Request a Help File we'll retrieve your answer right away

We are always looking for ways to simplify your life. 

Contact us today with more ideas!

Join the Open-Source Community! Give us a Call at (281)497-6567 

We want to help your organization succeed on the web. 

 

 Contact us today!

 

Contact us to upgrade to Tendenci

The open source solution chosen by associations around the world.

Want to talk? (281) 497-6567

Sign up for Tendenci - The Open Source AMS

No per user pricing. Unlimited admins.

Demo Now

Have Questions?

Contact us!

Site Search



I agree

Our site saves small pieces of text information (cookies) on your device in order to deliver better experience and for statistical purposes. You can disable the usage of cookies by changing the settings of your browser. By browsing our website without changing the browser settings you grant us permission to store that information on your device. See our Privacy Policy