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

Using json to un-check/deselect a checkbox

jlbrenneke
10-Marble

Using json to un-check/deselect a checkbox

I have an application where I'm reusing a popup (There are 4 different buttons that cause the same popup to be displayed). Each time the popup is displayed, I'm clearing out any data that was in it, but I can't figure out the syntax to un-check a checkbox. I've tried .checked = false or .selected = false but no luck. Any suggestions?

ACCEPTED SOLUTION

Accepted Solutions

Thanks, that worked!

View solution in original post

2 REPLIES 2
stephentwall
5-Regular Member
(To:jlbrenneke)

try $scope.view.wdg['checkbox-2']['value'] = false;

 

or,    .... .value=false;

Thanks, that worked!

Announcements

Top Tags