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

More than one value in a variable

Engaged ,
Nov 07, 2018 Nov 07, 2018

Copy link to clipboard

Copied

I was looking over an older Adobe Captivate Help and Tutorials.  There is an example on scripting.  The example is to create a log in screen with user name and password then have the second screen provide a welcome with the user name.  In this example, the value for the UserName variable is User and the value for the Password variable is Password.  Is there a way to set this up if you'd like captivate to look at a list of user names and passwords that were acceptable in those fields?

Views

188

Translate

Translate

Report

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

Community Expert , Nov 07, 2018 Nov 07, 2018

That old example is there since over10 years, gave up the hope they'll finally put in a new one.

Do you want to mimick what happens normally in a LMS: to check the credentails of an acoount? You can have as many values in variables as you want. You will need JS and arrays to make this possible. However I find a LMS a much easier way. What would have to happen when either the username or the corresponding password are not valid?

Votes

Translate

Translate
People's Champ ,
Nov 07, 2018 Nov 07, 2018

Copy link to clipboard

Copied

You can check the validate user input on the properties of the TEB and enter all of the valid values.

You can check to see if the values are valid several ways depending on how you want it to work.

Votes

Translate

Translate

Report

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 07, 2018 Nov 07, 2018

Copy link to clipboard

Copied

LATEST

That old example is there since over10 years, gave up the hope they'll finally put in a new one.

Do you want to mimick what happens normally in a LMS: to check the credentails of an acoount? You can have as many values in variables as you want. You will need JS and arrays to make this possible. However I find a LMS a much easier way. What would have to happen when either the username or the corresponding password are not valid?

Votes

Translate

Translate

Report

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