cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AnnaBrodnicki
Advocate I
Advocate I

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
v-monli-msft
Community Support
Community Support

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.

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
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (70,739)