Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
Hi,
I have a 3D checkbox and label of instruction. After the first step finished playing, user will check on the checkbox, the ✓ mark will be displayed then the second step will automatically being played. However, currently the checkbox will remain checked even though the second step playing. I want the checkbox to unchecked on the next step.
Need advice regarding this issue.
Thanks.
Solved! Go to Solution.
Here is, what I did:
1. place a 3d-button "next" and apply nextCheck(); in the js field
2. place a 3d-checkbox "3DCheckbox-1"
3. write code in home.js:
$scope.nextCheck= function(){
$scope.view.wdg["3DCheckbox-1"].pressed=false;
}
Perhaps a typo has crept in? Please make sure that the naming is correct.
Hi RahSyi,
do you recieve any errors in the browser's console?
I have tried it and two ways work:
1st: Use this code in js: $scope.view.wdg["3DCheckbox-2"].pressed=false;
2nd: drag click event on checkbox and choose "reset".
Hi @whity ,
I didn't receive any errors. and I've tried both of the suggestion that you gave. Its not working for me.
Can you please explain more details on how to do the suggestion that you gave correctly? I think I may doing it wrongly.
Thanks.
Here is, what I did:
1. place a 3d-button "next" and apply nextCheck(); in the js field
2. place a 3d-checkbox "3DCheckbox-1"
3. write code in home.js:
$scope.nextCheck= function(){
$scope.view.wdg["3DCheckbox-1"].pressed=false;
}
Perhaps a typo has crept in? Please make sure that the naming is correct.
Thank you for your help. Its working now. My mistake.