Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

Automatically check the checkbox when user watch the entire video on the catalogue item

shamalpawar
Kilo Contributor

I have added one video on the catalog item through Rich text label field type and I  have one checkbox named as ' training completed' and it is read only, unchecked by default. Once user watch the entire video then I want to automatically check the checkbox. How should I do this?

shamalpawar_0-1761582897206.png

Please refer the screenshot.

 

 

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@shamalpawar 

there is no direct way for this

you will have to handle the logic within the HTML etc to check if video is completed then then set the outside variable using this logic

 $scope.page.g_form.setValue('variableName', true);

also check this

How to Detect When a YouTube Video Finishes Playing with JavaScript? 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@shamalpawar 

Hope you are doing good.

Did my reply answer your question?

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader