Page status indicator is not able to conrol using if else condition

jbah007
jbah007 Community Member Posts: 8
Hello,

I am using Lector 12 and tried to use if else condition (from action) to control the page status indicator but is not working.. any idea why it is not working.

Highly appreciate you support to let me know how to control the page status indicator using if else condition from action.

this will allow to update custom page status tracking.

Thanks,

Siva.

 

Comments

  • jvalley4735
    jvalley4735 Community Member Posts: 1,357
    Since the status indicator is conditional on the variable, I would assume the variable isn't being converted correctly. Can you provide the full files for me to look at?
  • jbah007
    jbah007 Community Member Posts: 8
    Thanks Jennifer.

    I'll try and get sample together to describe the problem.

    It appears that you cannot set the 'page' status indicator state from the same page by triggering this with conditional variables. I don't really want Lectora setting the page status indicator as soon as the page has been visited.

    Essentially if I have a series of elements on a page that require completion before the page is consider completed I want to be able to control this and decide when the page status indicator should turn green based on the variables assigned to the conditional if else logic.

    It looks like Lectora does NOT have a way to trigger  actions by 'watching' for variable changes on the same page to then set the page status indicator.

    The only way this appears to work is by cheating and having the page status indicator set from another page!

    Hope that makes sense.

     

     

     
  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    By default Lectora sets the page status to "Completed" when the page is opened. If you wanted the page to not be completed you'd have to add an action on page level to set the status to "in Progress". You can add Conditions to that action but you need to be aware, that the page stays "Completed" if the conditions aren't met. You can't set the status to "Not started" (at least not from the same page).
  • jbah007
    jbah007 Community Member Posts: 8
    Thanks Tim for the good suggestion

    We had checked this out and that part worked fine.

    Our core issue is that we then had 'other elements' on that page triggered via "actions" to show inline popups (NOT leaving the page) for example we then set their respective status variables to completed but the page status indicator variable was when conditionally set to completed it would NOT update the visual display on the page until it went to the next page and came back etc.

    Apologies as it maybe hard to visualize what is actually happening.

    Cheers
  • timk
    timk Community Member Posts: 1,176 ☆ Superstar ☆
    If you can't share a sample, I'll need more information:

    How do you create the popups? - With most of the normal Lectora ways to create a popup, you actually do leave the page, even if it doesn't look like it.

    Where do you modify the variable "Custom_Page_1"? - Popup or Main page?

    Where do you set the page status? - Popup or Main page?

    Tim
Sign In or Register to comment.

So You Wanna Be An eLearning ROCKSTAR?

We're all fans of eLearning here! Want to become an eLearning ROCKSTAR? Just click on one of the buttons below to start your rocking journey!