0

some users try to upload img/heic although only jpg, png or pdf are allowed. in the best case our backend should also support img/heic. However, our backend system will not support img/heic for a long time. A conversion of the file format is legally not possible, because we have to archive the file unchanged. Currently, the user receives an error message after the upload that the file format img/heic is not supported. From a user experience point of view, should it only be possible to select jpg, png or pdf? So that the user can't select img/heic in the first place?

1 Answer 1

0

It generally is better to help the user avoid making an error in the first place, yes. You already have listed the possible actions you could take to achieve that in order of usefulness:

  1. Support the file format in question
  2. Convert from the file format to something that's supported behind the scenes
  3. Prevent the user from selecting anything that's unsupported
  4. Allow the user to upload something unsupported and error out afterwards, requiring them to resubmit only the erroring fields in question
  5. worst case - allow anything, error out and have the user fill out the entire form again from the beginning

As 1 and 2 are impossible for you, 3 is the way to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.