cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lsweeney
Level: Powered On

checkboxes

 

 

I want to add a Marketing Preferences check box to a Powerapp and for it to update to a SharePoint list. However when I create a data column in SharePoint as a Boolean value I only get a radio button or toggle button in Powerapps as options.

checkbox.pngemailallowed.pngOnly gives an option as a toggle and not a checkboxcheckboxx.pngThis is how I want it to appear but cant seem to link this back to SharePoint list 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: checkboxes

Hi @Lsweeney,

 

Thanks for the feedback.

Boolean Value combined to radio control should be the default behavior.

We could customize the 'EmailAllowed' DataCard, and switch the Radio control to CheckBox control within the Form.

Please follow the steps below:

1. Navigate to the EditScreen, select the Radio control, then under Advanced tab in Right pane, click Unlock,

2. Make a notice of the Name of the Radio control (mostly should be named as DataCardValueXX), then delete it,

3. Select the 'EmailAllowed' DataCard, then click Insert->Controls->CheckBox, add a CheckBox control into the 'EmailAllowed' DataCard,

4. Change the Default property of the CheckBox from false to Parent.Default, under the left pane, click Tree View, find the CheckBox control, then right click to rename it with DataCardValueXX (name of the previous Radio control),

5.Click save.

For more information about form in PowerApps, please check:

DisplayForm and EditForm in PowerApps

Customize forms in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
4 REPLIES 4
Meneghino
Level 10

Re: checkboxes

Maybe you can do it with forms, I don't know as I don't use them.

However, you can certainly do it with your own form.

https://baizini-it.com/blog/index.php/2017/09/28/powerapps-101-create-your-own-forms/

Please let me know if you need specific guidance.

Highlighted
Community Support Team
Community Support Team

Re: checkboxes

Hi @Lsweeney,

 

Thanks for the feedback.

Boolean Value combined to radio control should be the default behavior.

We could customize the 'EmailAllowed' DataCard, and switch the Radio control to CheckBox control within the Form.

Please follow the steps below:

1. Navigate to the EditScreen, select the Radio control, then under Advanced tab in Right pane, click Unlock,

2. Make a notice of the Name of the Radio control (mostly should be named as DataCardValueXX), then delete it,

3. Select the 'EmailAllowed' DataCard, then click Insert->Controls->CheckBox, add a CheckBox control into the 'EmailAllowed' DataCard,

4. Change the Default property of the CheckBox from false to Parent.Default, under the left pane, click Tree View, find the CheckBox control, then right click to rename it with DataCardValueXX (name of the previous Radio control),

5.Click save.

For more information about form in PowerApps, please check:

DisplayForm and EditForm in PowerApps

Customize forms in PowerApps

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Lsweeney
Level: Powered On

Re: checkboxes

Thanks - that worked!

Eric-J
Level: Powered On

Re: checkboxes

When I try this, the checkbox appears, but will not save a value. Is there another field that needs to be changed?

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Next Wednesday, August 21st at 8am PDT

Top Community Contributors for July 2019

Top Community Contributors for July 2019

Let's thank our top community contributors

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

FifthImage

Dynamics 365 and Power Platform April 2019 Release notes

Features releasing from April 2019 through September 2019!

SixthImage

Power Summit Australia 2019

August 20-23rd 2019

Top Kudoed Authors
Users Online
Currently online: 32 members 4,434 guests
Please welcome our newest community members: