cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Vuforia Studio - Checkbox Widget

Aditya1702
15-Moonstone

Vuforia Studio - Checkbox Widget

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

 

 

 

 

 

ACCEPTED SOLUTION

Accepted Solutions
sebben
13-Aquamarine
(To:Aditya1702)

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.

View solution in original post

1 REPLY 1
sebben
13-Aquamarine
(To:Aditya1702)

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.

Announcements

Top Tags