Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do you use TEB if the value you want the user to enter is 0?

Explorer ,
Nov 09, 2015 Nov 09, 2015

I have several TEB on one slide, but the user input value for one of the TEB needs to be 0.  If the user clicks the submit button without entering any value into the TEB that equals zero, it will mark it as correct. I tried setting the TEB's variable value to 1 and then in the conditional action I have when the TEB's variable is equal to 0 execute various actions, but I get the same result.  I'm using Captivate 8.  Any help would be appreciated!

282
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Explorer , Nov 09, 2015 Nov 09, 2015

Well I figured it out, but just in case any one ever has this problem I'll explain what I did.  I made an advanced action for the slide On Enter and set the TEB variables to 1 that required the user to enter 0.  This way if the user clicks submit without entering values, the TEBs that equal 0 would be marked wrong. 

Translate
Explorer ,
Nov 09, 2015 Nov 09, 2015

Well I figured it out, but just in case any one ever has this problem I'll explain what I did.  I made an advanced action for the slide On Enter and set the TEB variables to 1 that required the user to enter 0.  This way if the user clicks submit without entering values, the TEBs that equal 0 would be marked wrong. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 09, 2015 Nov 09, 2015
LATEST

0 is considered to be the same as no entry. You cannot even test with 'IF v_TEB is equal to 0'.

Where is Null? - Captivate blog

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources