January 14, 2020
Boolean True / False
Comments
(2)
January 14, 2020
Boolean True / False
Explorer 17 posts
Followers: 13 people
(2)

I am using javascript and need to use boolean value true / false (not 0 and 1 in this case).  If I assign a variable true or false is Captivate seeing it as a string, or an actual Boolean True / False?  This is what I did:

  • Created a variable.
  • Make default value False.
  • On click of a button, assign True to the variable.

Thanks.

2 Comments
2020-01-19 09:14:05
2020-01-19 09:14:05

Did you solve your problem, and if yes, was the comment useful?

Like
(1)
2020-01-14 09:19:22
2020-01-14 09:19:22

It is a Captivate variable or one defined in JS?  Not the same.

Within Captivate itself you can use True/False or 1/0, it doesn’t matter. I prefer the latter because less to type, primarily use advanced actions.

Like
(1)
Add Comment