Guest User

Untitled

a guest
May 22nd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. Many of the question types in qanda.php (qanda_helper.php), like do_array_5point(), display messages indicating whether the question is mandatory or has validation requirements (like min_num_answers > 5).
  2. Refactor those to use the tips from LimeExpressionManager::GetQuestionStatus($qid).
  3. Eliminate all database calls from qanda.php - all of the information they need to display questions, messages, etc. should be available from GetQuestionStatus($qid).
  4. Integrate these same tip messages into printable survey and data entry screens (so uses can see the relevance and validation logic even on the printed page).
Add Comment
Please, Sign In to add comment