cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

How to uncheck a checkbox through reset

Hi, Any help would be appreciated.

I have added "a Checkbox" on the screen, I want to reset it by clicking on the reset icon. 
Exactly,I have implemented for Textinputboxes, which are getting reset (if not saved), but the checkbox is not getting unchecked.

Code details below:

onselect of the icon : Set(resetTextInputs, true); Set(resetTextInputs, false);
& Reset prop of the textinputbox:  resetTextInputs



Regards,

Nandan

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Microsoft
Microsoft

Re: How to uncheck a checkbox through reset

Hi@NandanBrahma,

 

Based on the issue you mentioned, you want to reset both CheckBox and TextInput when you click the reset button.

I think you are almost seeing the light based on the formula you provided. You have already set the variable successfully, however, you should set the Reset property of the CheckBox, too. Your original formula only reset the TexInputbox.

Please modify your formula as below:

  • Set your reset icon OnSelect property as before:

 

 Set(resetTextInputs, true); Set(resetTextInputs, false)

 

 

  • Set your TextInput Reset property as before:

 

resetTextInputs

 

  • Set your CheckBox Reset property as below:

 

resetTextInputs

 

Note: The third point is the key.

Just in case, if my assumption is wrong, that means you have set the Reset property of CheckBox. Please provide some error reporting information.

 

Best Regards,

Qi Qiao

View solution in original post

3 REPLIES 3
Highlighted
Community Champion
Community Champion

Re: How to uncheck a checkbox through reset

You can separate the Variables into two.

Onvisible of the screen;

Set(resetTextInputs, false)

 

OnSelect of the button;

Set(resetTextInputs, true)

 

Reset of the Checkbox:

 resetTextInputs

 

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

 

 

Highlighted
Microsoft
Microsoft

Re: How to uncheck a checkbox through reset

Hi@NandanBrahma,

 

Based on the issue you mentioned, you want to reset both CheckBox and TextInput when you click the reset button.

I think you are almost seeing the light based on the formula you provided. You have already set the variable successfully, however, you should set the Reset property of the CheckBox, too. Your original formula only reset the TexInputbox.

Please modify your formula as below:

  • Set your reset icon OnSelect property as before:

 

 Set(resetTextInputs, true); Set(resetTextInputs, false)

 

 

  • Set your TextInput Reset property as before:

 

resetTextInputs

 

  • Set your CheckBox Reset property as below:

 

resetTextInputs

 

Note: The third point is the key.

Just in case, if my assumption is wrong, that means you have set the Reset property of CheckBox. Please provide some error reporting information.

 

Best Regards,

Qi Qiao

View solution in original post

Highlighted
Resolver I
Resolver I

Re: How to uncheck a checkbox through reset

Hi,

Use the "Reset" function, write the formula Reset(Checkbox1) on "OnSelect" property.

Please click Accept as Solution, if this solution solved your issue. If this post was useful, please consider giving it Thumbs Up.

 

Thanks & Regards,

Devendra Singh

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,851)