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

Mandatory Fields in SharePoint and PowerApps

I've created an issue log in a SharePoint list that contains around 16 fields, from that list I have created a PowerApp form but only brought in 6 fields as these are the ones I want an end user to complete with details of the issue, the other 10 fields are for the project team to complete with fields such as Status, Priority etc.  Some of these project team fields are mandatory as I want to ensure the project team complete them, but in PowerApps it won't let you submit the form as there are mandatory fields in the SharePoint list that I don't want to include in the PowerApp form.  

 

Any ideas as to how I can get around this?

2 REPLIES 2
Highlighted
Community Support Team
Community Support Team

Re: Mandatory Fields in SharePoint and PowerApps

Hi @AnnaBrodnicki,

 

It is sure that you cannot leave these mandatory fields empty when submitting one item. It will cause error. But you can set those fields with some default values, like "**", then make those field invisible in the edit form. Like:

DataCardValue1.Text="**"
DataCardValue1.Visible=false

Then these fields would be updated with Default value, and you could let project team to edit these fields later.

 

Regards,

Mona

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

Re: Mandatory Fields in SharePoint and PowerApps

Hi Mona, thank you, that's a great idea that I hadn't thought of!  Perfect, I will give this a try.

 

 

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

thirdimage

Power Apps Community User Group Member Badge

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

sixthImage

Join THE global Microsoft Power Platform event series

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (9,317)