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

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Vuforia Studio - Checkbox Widget

Aditya1702
14-Alexandrite

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
12-Amethyst
(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
12-Amethyst
(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