Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi,
Good Afternoon,
I want to trigger an event in Vuforia Studio only after all the checkbox widgets are ticked.
Can anyone help me out with this.
Thanks in Advance,
Regards,
Aditya Gupta
Solved! Go to Solution.
Hi,
you can write a function like this:
$scope.CheckAllCheckboxes = function(){
if($scope.view.wdg["checkbox-1"].value && $scope.view.wdg["checkbox-2"].value && $scope.view.wdg["checkbox-3"].value){
//Do something
}
}
And then trigger it from every selected event of the checkboxes.
Hope that helps.
Hi,
you can write a function like this:
$scope.CheckAllCheckboxes = function(){
if($scope.view.wdg["checkbox-1"].value && $scope.view.wdg["checkbox-2"].value && $scope.view.wdg["checkbox-3"].value){
//Do something
}
}
And then trigger it from every selected event of the checkboxes.
Hope that helps.