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

sharepoint checkbox field in power apps convas application

Hi all,

 

I have a scenario where I need to select the check box( more than 1 value ) and data source is SharePoint list.  am able to achieve this by below post successfully.

https://powerusers.microsoft.com/t5/Building-Power-Apps/PowerApps-multiple-checkbox-items-to-a-singl...

here I faced one problem: though I kept the required = true in power app. it still creating a record in SP list with empty value of that field in new form. 

 

Powerapp2.png

1 ACCEPTED SOLUTION

Accepted Solutions
Microsoft v-siky-msft
Microsoft

Re: sharepoint checkbox field in power apps convas application

Hi @Saan ,

 

You deleted the default combo box in data card that is why the required setting doesn't work.

I think you can set a notify if there is any required field not being entered when the submit button is clicked. please check the following code.

If(!Checkbox1.Value  && !Checkbox2.Value  && !Checkbox3.Value  && !Checkbox4.Value  && !Checkbox5.Value,Notify("error",NotificationType.Error),SubmitForm(Form1))

Snipaste_2020-01-08_15-52-33.pngSik

 

 

View solution in original post

2 REPLIES 2
Saan
Level: Powered On

Re: sharepoint checkbox field in power apps convas application

I need a real quick help on this please..

 

 

Microsoft v-siky-msft
Microsoft

Re: sharepoint checkbox field in power apps convas application

Hi @Saan ,

 

You deleted the default combo box in data card that is why the required setting doesn't work.

I think you can set a notify if there is any required field not being entered when the submit button is clicked. please check the following code.

If(!Checkbox1.Value  && !Checkbox2.Value  && !Checkbox3.Value  && !Checkbox4.Value  && !Checkbox5.Value,Notify("error",NotificationType.Error),SubmitForm(Form1))

Snipaste_2020-01-08_15-52-33.pngSik

 

 

View solution in original post

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,489)