Highlighted

More than one value in a variable

Engaged ,
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?

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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?

Views

90

Likes

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

More than one value in a variable

Engaged ,
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?

Most Valuable Participant
Correct answer by Lilybiri | Most Valuable Participant

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?

Views

91

Likes

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
Adobe Community Professional ,
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.

Likes

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
Reply
Loading...
Most Valuable Participant ,
Nov 07, 2018

Copy link to clipboard

Copied

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?

Likes

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
Reply
Loading...
Resources
Captivate User Guide
New Group