Forcing a Constant Sum question to be less then 24 hours | XM Community
Skip to main content
Question

Forcing a Constant Sum question to be less then 24 hours

  • April 8, 2019
  • 1 reply
  • 10 views

I can't figure out how to make an error message come up if the total is larger then 24 hours for this question. Can anybody help me? !

1 reply

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • April 8, 2019
Let's say the QID of your question is QID1. Then add Custom Validation so that "Live TV as it airs" is less than or equal to: ``` $e{ 24 - q://QID1/ChoiceNumericEntryValue/2 - q://QID1/ChoiceNumericEntryValue/3 - q://QID1/ChoiceNumericEntryValue/4 - q://QID1/ChoiceNumericEntryValue/5 } ```