Solved
In a heat map, how do I access the coordinates of a click in java script?
I want to use the X and Y coordinates of the where the user clicked last on a heat map. It doesn't look like I can simply refer to ${q://QID1/ChoiceNumericEntryValue/1/X}, so I guess I need some other way to capture this information.
Thanks!
Best answer by Anonymous
> @Mauricio said:
> Right, but my validation is a bit more complicated as I need to refer to an embedded variables that change value throughout the survey. Unfortunately, it doesn't look like I can access these variables in custom validation...
-> If you are comparing the x-value/y-value with some embedded data then FYI.....we can pipe the embedded data in the last box of custom validation as show in the image
!
OR
`make the person go back to this page if it is not valid.`
-> For this validate using the code on next page and if not valid then use below code to force user to go to previous page.
var that=this;
that.clickPreviousButton();
View original
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.