Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

メールフォームで[ファイル]を送信時、オプション指定時のエラーメッセージの改善 #1125

Closed
tnagatomi opened this issue Apr 29, 2019 · 2 comments
Labels
Review レビュー要

Comments

@tnagatomi
Copy link
Contributor

(このIssueはRedmineのチケットから移行されています)

作成者: - garyuten
作成日: 2016/09/02 17:55

メールフォームで[ファイル]を指定し、オプションでファイルサイズ上限や拡張子指定した時のエラーメッセージの改善をお願いします。

h2. 拡張子が違った場合
!https://goo.gl/photos/rbZUKhjcqkcLu7Nw8!

【入力エラーです】
入力内容を確認して再度送信してください。

何のエラーだったのかわかりづらいです。

h2.ファイルサイズの上限を超えた場合
!https://goo.gl/photos/rUQySDRKPEyeKuZK6!

ファイルのアップロードサイズが上限を超えています

エラーメッセージはいいのですが、入力フォームのどこがエラーだったかがわかりづらいです。

これらの対策として、
該当したファイルのinputの下にも必須エラー時と同様のエラーを表示し、

*「ファイルサイズ上限:10MB、拡張子:JPG,PNG形式でお願いします」

などオプション指定したパラメーターの内容を表示させるとわかりやすいと思います。

@tnagatomi
Copy link
Contributor Author

投稿者: 江頭 竜二
投稿日: 2016/09/25 10:27:59

  • 対象バージョン を 3.0.11 から 4.0.1 に変更
    上部のエラーメッセージを変更するには色々と仕組みの調整が必要です。3系は見送って、4系での対応予定に入れますね。

@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@baserproject baserproject deleted a comment from tnagatomi May 16, 2019
@ryuring ryuring added the Review レビュー要 label May 16, 2019
@ryuring
Copy link
Collaborator

ryuring commented May 5, 2020

改善済。クローズ

@ryuring ryuring closed this as completed May 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review レビュー要
Projects
None yet
Development

No branches or pull requests

2 participants