Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! 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.