Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. 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.
