web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Error trying to Save f...
Power Apps
Unanswered

Error trying to Save from DetailScreen: An entry is required or has an invalid value...

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I added a checkbox to my DetailScreen, that sets a value in the Form of the EditScreen.

I also added a save button in the DetailScreen, with an SubmitForm(EditForm1)  OnSelect.

That way the user can quickly adjust an item as being checked, withou having to navigate further to the EditScreen.

 

The setting of the value in the Form of the EditScreen from within the DetailScreen works fine.

When I navigate to the EditScreen and directly Save everything works fine.

But Saving directly form the DetailScreen results in an error:

An entry is required or has an invalid value.Please correct and try again

 

There is no error information where the value is missing or invalid.

 

 

 

Categories:
I have the same question (0)
  • v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

    Could you please share a screenshot about your app's configuration?

    How do you set the value in the Form of the EditScreen?

    Which type of variable do you set within your Edit form? A global variable or a Context variable?

    Further, do you want to update an existing item in your SP list?

    I have made a test on my side (set a global variable to store the value would be set within my Edit form), and don't have the issue that you mentioned. Based on the error message that you mentioned, I think there is something wrong with the value that you set in the Form of the EditScreen.

    Please take a try to initialize a global variable (using Set function) to store the value that you want to set within your Edit form, and then check if the issue is solved.

    In addition, please also check if you have provided a valid value for the Required/Mandatory field within your Edit form.

    If the issue still exists, please consider take a try to use Patch function to submit your form data instead of SumitForm function. I have made a test on my side, please take a try with the following Patch formula:

    Set the OnSelect property of the "Save" button within DetailScreen to following:

    Patch(
     'YourSPList',
     BrowseGallery1.Selected, /* <-- BrowseGallery1 represents the Gallery within your app */
     {
     Column1: DataCardValue1.Text,
     ...
     CheckedColumn: DataCardValue4.Text, /* <-- I assume that you set the Value within the DataCardValue4 control */
     ...
     
     }
    )

    More details about the Patch function, please check the following article:

    Patch function

     

    Best regards,

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you so much for assisting!

    I only want to update a single field called "MeldingStatus"  (a dropdown field from SharePoint list called "Overzicht")

    I am using a variable "MeldingStatutPreset" as you mentioned for setting the value. ( attachment CheckedCardValue )

    The OnCheck of the checkbox sets the variable value for var "MeldingStatutPreset"  and so the "MeldingStatus" field value ( DataCardValue29 )

    I am trying to patch that field also in the Onselect of the SaveIcon, but no result. ( Patch attachment).

    No errors also.

     

    CheckedCardValue.png
    Patch.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 431

#2
WarrenBelz Profile Picture

WarrenBelz 360 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 280 Super User 2026 Season 1

Last 30 days Overall leaderboard