Customize Input Control - Radio Button option

0

Hi,

 

I have a customized Input control page with 2 tabs. In the first tab I have 2 text boxes StartDate and EndDate and in the second tab I have Single Select Query Radio button LastParam to pick one of the option(LastYear, Last Week, LastMonth). When I switch tabs I have to reset the values in the text boxes and Radio button. The code to reset the text boxes is 

var beginDate = controlsViewModel.findControl({id:"StartDate"});
                    beginDate.set({values:""});
                    var endDate = controlsViewModel.findControl({id:"EndDate"});
                    endDate.set({values:""});
 
and I am looking for a similar code to always pick the first option of the radio button when I switch tabs. Any help is appreciated.
 
Thanks
kavitha_pamidi's picture
Joined: Dec 12 2013 - 10:30am
Last seen: 4 years 4 months ago

0 Answers:

No answers yet
Feedback