Is there a way to add numeric variables together?

hvaughan-2540
hvaughan-2540 Community Member Posts: 182 ☆ Superstar ☆

I have a scenario with 3 rooms. Each room has some interactive elements which if clicked generate a 'room' score. Is there a way I can have a menu/home page which displays the total score?

For example, I need TOTAL: %Variable1Score%+%Variable2Score%+%Variable3Score%

Answers

  • CarlJFink
    CarlJFink Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 158 ♦ Idol ♦

    Wow, that's a big hole in the CVR feature set. No maths at all beyond adding or subtracting constants. And you can't use user-generated JavaScript, as far as I can tell. Maybe this should be moved to the Feature Requests area. I have zero insight into the code behind CVR, but it should be very straightforward to add. (You could probably just copy the code from Lectora Online.)

  • hvaughan-2540
    hvaughan-2540 Community Member Posts: 182 ☆ Superstar ☆

    I couldn't believe it wasn't an option either. I can add it to the growing list of feature requests which never get implemented!