cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Post Patron
Post Patron

Checkbox selection true and false to - Yes and No

Happy Monday!

 

What is the best approach to change "True" and "False" to "Yes" and "No" from a Checkbox.

 

YesNo.PNG

 

Column Type - Single line of text

SingleText.PNG

 

Having one of those days! Thank you in advance.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User III
Super User III

Re: Checkbox selection true and false to - Yes and No

Hi @oappdev ,

 

try as below:

Patch(SPList,Defaults(SPList),{spColumnName: If(checkbox.Value,"Yes","No")})


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

4 REPLIES 4
Highlighted
Super User III
Super User III

Re: Checkbox selection true and false to - Yes and No

Hi @oappdev ,

 

try as below:

Patch(SPList,Defaults(SPList),{spColumnName: If(checkbox.Value,"Yes","No")})


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

View solution in original post

Highlighted
Post Patron
Post Patron

Re: Checkbox selection true and false to - Yes and No

Thank you so much! @KrishnaV Will give it a try and circle with Solution Accepted.

Highlighted
Super User III
Super User III

Re: Checkbox selection true and false to - Yes and No

Hi @oappdev ,

 

I have just noticed that you liked my reply, is there anything I am missing mark it as a solution?


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Regards,
Krishna
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members find it more.


I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

Proud to be a Super User!

Regards,
KrishnaV
If this post helps you give a 👍 and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.
Highlighted
Post Patron
Post Patron

Re: Checkbox selection true and false to - Yes and No

That did the trick 😎 👍

Thank you so much! @KrishnaV 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

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,439)