Skip to Content
操作介面設計模式 第二版
book

操作介面設計模式 第二版

by Jenifer Tidwell
January 2012
Intermediate to advanced
584 pages
11h 56m
Chinese
GoTop Information, Inc.
Content preview from 操作介面設計模式 第二版
388
|
第八章
同頁顯示錯誤訊息(
Same-Page Error Messages
8
-
35
Netflix
的註冊對話框
這是什麼
在表單所處的頁面上直接放置錯誤訊息;在頁面頂端加上錯誤訊息的標記,如果可
能的話,在導致錯誤的控制元件旁邊放置指示器。
何時使用
有時候,使用者輸入表單資訊時,可能會有無法接受的資訊。使用者犯的錯誤有很
多種,可能是忽略了必要的欄位、輸入的數字格式錯誤、輸入不合格的電子郵件帳
號……等。我們想鼓勵使用者更正錯誤,再次嘗試;想在拼錯字成為問題前先行指
出,並幫助感到疑惑的使用者,讓他們瞭解所問的問題。
為何使用
傳統上,應用程式透過情境對話框(modal dialog box)向使用者報告錯誤訊息。
這些訊息可 能很有幫助 ,能指出問 題並說明如 何修正;但 我們必須關 閉情境對話
框,才能開始修正錯誤。而對話框已經消失了,你無法再閱讀錯誤訊息了!(或許
你剛才應該把錯誤訊息記下來。)
Submit)後才會出現。同樣的,你可以讀到此訊息,但必須按下「回到上一頁」
Back)按鈕以修正錯誤,按下之後,錯誤訊息又消失了。然後我們必須掃視表單
以找出錯誤的欄位,這不但花時間,也很容易導致出錯的行為。
現在,許多網頁表單都把錯誤訊息放在表單裡。藉由保持訊息和控制元件在同一個
頁面中,我們可讓使用者閱讀訊息並輕易地修正表單,不需要在頁面前跳來跳
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

精實企業|高績效組織如何達成創新規模化

精實企業|高績效組織如何達成創新規模化

Jez Humble, Joanne Molesky, Barry O'Reilly
優雅的SciPy|Python科學研究的美學

優雅的SciPy|Python科學研究的美學

Juan Nunez-Iglesias, Stéfan van der Walt, Harriet Dashnow
精通機器學習|使用Python

精通機器學習|使用Python

Sarah Guido, Andreas C. Mueller
量子计算机编程:从入门到实践

量子计算机编程:从入门到实践

Eric R. Johnston, Nicholas Harrigan, Mercedes Gimeno-Segovia

Publisher Resources

ISBN: 9789862762554