Skip to main content

All Questions

Tagged with
5 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
491 views

Why is CloudFlare blocking file uploads?

I have a simple form where people raise IT helpdesk requests (oh, the irony...) and this creates a case in CiviCRM. It's an unsophisticted but cheap helpdesk system for the few requests we get. A ...
ChumKui's user avatar
  • 177
1 vote
1 answer
1k views

File field upload in modal/dialog

I have a custom content type with file field as one of the fields. For theming/UI purposes I should make this file field as clickable button. And only when user clicks on it, he/she gets modal window ...
ctrnz's user avatar
  • 33
0 votes
0 answers
26 views

How can i prevent form submission when a file is being removed or uploaded?

I have a node form for my custom content type. There is file field in that content type. And i want to prevent form submission when a file is being removed and uploaded. Note: File removed and ...
Iqbal's user avatar
  • 191
0 votes
0 answers
112 views

Bad error handling of .pdf files against all other file types when a file exceeds the maximum file size

I have a file field with the following allowed file extensions: txt, pdf, doc, docx, zip The Maximum upload size is set via my php.ini and it is upload_max_filesize = 2M 1. While I'm trying to ...
mchar's user avatar
  • 1,654
0 votes
0 answers
629 views

How to replace ajax callback of file upload in managed_file?

I have a text-area with some content inside. I have another form element that is for upload xls file. Now what I want to achieve is, when I click on upload button the xls file content should replace ...
Sugandh Khanna's user avatar