Hi everyone — I’m building a Qualtrics survey with a “points wallet” system.
On the same page, respondents:
-
choose a travel mode (Drive Alone / Carpool / Transit), and each mode has a points cost, and
-
enter “How many points would you like to use today?” (partial payment).
I need the numeric entry to be capped at the selected mode’s cost (e.g., if Drive Alone costs 250 points, the input must be ≤ 250). The mode’s cost is stored in an embedded data field S1D1_CostPoints, but I realized embedded data doesn’t update until the page submits, so standard validation can’t read it on the same page.
What’s the best way to enforce this constraint on the same page in Qualtrics? (JavaScript solution is fine.)
For reference, my export tags are S1D1_Mode (mode question) and S1D1_PartialPay (numeric entry).

