Forum

[SOLVED] How can I ...
 
Notifications
Retirer tout

[SOLVED] How can I make upload of attachments mandatory?

3 Posts
2 Utilisateurs
0 Reactions
2,985 Vu
Sagar
(@sagar-toshniwal)
Posts: 72
Estimable Member
Début du sujet
 
[#3406]

I have a situation whereby the user, who is raising ticket, must upload details in the form of an attachment. It can be a standard file like docx, pptx, xlsx, pdf, txt...

How can I make this attachment as mandatory? At least 1 attachment must be uploaded before Ticket can proceed to next step.

I looked at TicketMain.php and found that there is an array variable $_Attachment. But I am not sure how do I make it mandatory! :ohmy: Please help.


I am an Eagle. On a mission to help those who want to help themselves...

 
Posté : 23/05/2016 10:24 am
(@babynus)
Posts: 14952
Membre Admin
 

You just cannot.
At least not without coding it explicitely.


 
Posté : 23/05/2016 10:34 am
Sagar
(@sagar-toshniwal)
Posts: 72
Estimable Member
Début du sujet
 

Thanks babynus.


I am an Eagle. On a mission to help those who want to help themselves...

 
Posté : 23/05/2016 10:46 am
Share:
Retour en haut