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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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
14-Alexandrite
(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
14-Alexandrite
(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