cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (5,068)