Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Only mark unit complete when moving to NEXT unit
Tagged: auto complete, next, trigger, unit
- This topic has 7 replies, 3 voices, and was last updated 6 years, 3 months ago by Diana.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
October 5, 2017 at 1:54 pm #131139dantwahSpectatorHi! The auto mark complete on next unit is not doing what I would like it would do. And so do some other ones (https://vibethemes.com/documentation/wplms/forums/topic/when-click-on-mark-this-unit-complete-goes-to-next-unit/) It confuses my users I want it to work in this manner: Current unit is only marked as complete when someone clicks on "next unit" or when someone leaves the unit and browses to a later unit (not an earlier unit). Is there a way to edit the snippet (in this tip: https://wplms.io/support/knowledge-base/auto-mark-unit-complete-when-open/)? I have tried some stuff. Like triggering a click on mark unit complete when next unit is clicked but it is not executed in jquery. Would be awesome to have this operational.October 6, 2017 at 11:35 am #131223H.K. LatiyanParticipantHi, Sorry this is not available as of now. When a unit is opened then a unit_traverse call is executed and then we only have the current unit and not the previous unit and therefore we can only manipulate the current unit and not the previous unit.August 13, 2018 at 12:08 pm #172261dantwahSpectatorHi! I am still looking at this issue, too many student of us are getting confused by how the auto mark complete of units is working. I was trying some jquery. Very simple. logic is that when the next button is clicked the marked unit as complete is also triggered and the unit is marked as complete. It not really working though. Any thoughts on this, and a simple workaround to make units be marked as complete only when someone is actually moving towards the next unit? this is the code I used: jQuery(document).ready(function ($) { $('#next_unit').click(function(){ $('#mark-complete').trigger('click'); }); });August 14, 2018 at 11:52 am #172378DianaParticipant@dantwah But this is how it is working. If I understand your issue right. If the auto mark unit complete is enabled. So when the user clicks on the next unit. Then it triggers a call unit_taverse that unit is marked as complete.August 16, 2018 at 9:10 am #172554dantwahSpectatorThe way is works now is that a unit is marked as complete while it is still open. So someone in unit 1 click next unit than unit 2 opens and this one is then marked as complete. That is not correct, unit 1 should be marked as complete and unit 2 should only be marked as complete after the next button is pressed.August 17, 2018 at 7:44 am #172653DianaParticipant@dantwah, For this, you can try an alternative if you have media in the units. Then using the tip you can trigger the unit complete only when media is completed. @HK already told you that the tick is triggered on unit_traverse call and at that time we cannot check the status of the previous unit so that we can click on unit complete.August 21, 2018 at 12:05 pm #173032dantwahSpectatorHi! Thanks for the reply. It would be great if there could be something to overcome this issue, it is just very confusing. I did see this tip, though our videos are loaded through iframe (jwplayer) so this won't work i guess. Kind regardsAugust 22, 2018 at 5:11 am #173093DianaParticipant@dantwah, For now, I can only suggest you use the feature -"unit complete when media is complete" Keeping your request in mind we will try something else to overcome this
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘Only mark unit complete when moving to NEXT unit’ is closed to new replies.