Program: Captivate 2019 - Version 11.5.1
I have 12 validated TEBs on one slide with a single Submit button that checks for the correct entry. I have assigned variables with the single correct number to each of the TEBs. All 12 function as intended. The issue I have is that the correct answer for two of them is the number 0. If the users do not fill in those two TEBs and just click submit, the program accepts the blank entry as well.
How do I force the program to only accept the 0 answer and not a blank response? Thank you.
Problem with Captivate variables is that you cannot define if a variable is a string or a number. A blank string, a 0 or an empty field are the same. I didn't try it out if my approach using comparison with a really empty variable will work in this use case. Maybe try it out, explained in this blog post:
I had looked at your blog before when trying to find a solution. This still does not seem to work and it could just be that I entered the advanced action incorrectly. When I add a V_NULL with no value to the advanced action and run it, entering the number 0 will return as incorrect. The value for V_TFE_Correct is 0.