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

Nested If (Else If) workaround needed for Captivate 9

Explorer ,
Oct 10, 2016 Oct 10, 2016

I have a page where the user selects the area(s) they work in. There are 5 total areas, and each learner could select one or more of those areas. Based on the selections made on this page, the course should automatically direct them to the slides that apply to them... So, if they select Area A and Area B, it should first show them slide A, then slide B.

Ideally, a nested if or an else-if function would be best, but I get that's not available, yet. I'd like to avoid doing this in javascript, but I'm open to exploring that option. Anyone else have a creative solution to this before I keep sending the learner back to the choose-your-area(s) page until they click an "I'm done" button?

Thanks!

TOPICS
Advanced
280
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 , Oct 10, 2016 Oct 10, 2016

Well... it seems typing it out gave me "fresh eyes"

I set it up to concatenate a user variable: So if the learner selects Area A and Area C, the "user_area" variable value would be "AC". The course then goes to the next page. On enter, an advanced action fires testing if "user_area" contains A, and pauses. Else it goes to the next page. And so on, through B, C, D, E.

Translate
Explorer ,
Oct 10, 2016 Oct 10, 2016
LATEST

Well... it seems typing it out gave me "fresh eyes"

I set it up to concatenate a user variable: So if the learner selects Area A and Area C, the "user_area" variable value would be "AC". The course then goes to the next page. On enter, an advanced action fires testing if "user_area" contains A, and pauses. Else it goes to the next page. And so on, through B, C, D, E.

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