x

主要章節

  1. Get started
  2. Workspace
  3. Editor
  4. Question types
  5. Share
  6. Results
  7. Configuration
  8. Installation and updates
  9. Profile and personal settings
  10. Account and billing
  11. FAQs
  12. Development
 Actions

QS

QS:隱藏提示

From LimeSurvey Manual


隱藏提示 (hide_tip)

說明

大多數問題通常會包含一則提示,例如「請選擇以下其中一個選項」,或是說明如何填寫該問題的提示文字。此屬性可讓您開啟或關閉這些提示。

這些提示包含驗證條件訊息(例如答案數量的最小/最大值、等於總計值的最小/最大值)。若啟用 hide_tip,這些訊息將會被隱藏。不過,若使用者輸入無效的資料,提示就會顯示。提示會以紅色顯示,並在符合驗證條件後變為綠色。

可用選項

  • 開啟 - 隱藏提示;
  • 關閉(預設)。


進階

您必須使用 CSS 才能隱藏驗證訊息。下列範例顯示若您希望在受訪者送出錯誤內容時向其顯示提示,應使用的程式碼:

.hide-tip .good {display: none;}
.hide-tip .error {display: none;}
.input-error .hide-tip .error {display: block;}
本頁面可能為機器翻譯,可能包含錯誤。 檢視英文原文 · 改善此翻譯