I'm using tag <input type="file" accept="application/x-rpt, magnus-internal/rpt"/>
to only allow .rpt
files to be uploaded, but it's unsuccessful. User still can upload whatever they want.
What's wrong here? Please help me. Thank you so much.
I'm using tag <input type="file" accept="application/x-rpt, magnus-internal/rpt"/>
to only allow .rpt
files to be uploaded, but it's unsuccessful. User still can upload whatever they want.
What's wrong here? Please help me. Thank you so much.
Put the following script in head
Now Use the following information for id in input tag