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

Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. 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