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 / Submit form and patch ...
Power Apps
Unanswered

Submit form and patch combined (for onselect of a submit button)

(0) ShareShare
ReportReport
Posted on by 834

hi,

got a sharepoint list that user fills in and that i customized with powerapps... once user opens the form he can choose one option that brings him to a new screen (within the same app). This Form on the new screen is also connected to the same source. Additionally look for some other values from other SPO Lists...  Once the user inputs some data and click submits i want the form to "submit form" but also to "patch" a value to a different list (that is however connected)...  the problem is that only the patch works, the submitform not... the formula i have for the submit button is 

 

 

SubmitForm(Form_holiday);
Patch(
 HR_settings,
 First(
 Filter(
 HR_settings,
 UPN = 'upn-label_1'.Text
 )
 ),
 {RestVacationDays: Value(value_available_days_new.Text)}
)

 

 

edit: it seems that not even SubmitForm alone works, must be related to multiple screens, no idea so far

Categories:
  • Al_10 Profile Picture
    1,691 Super User 2024 Season 1 on at

    try add to the form's property:

    Form_holiday.OnFailure  = Notify("SP error",NotificationType.Error);

     

    if this message pops up when you press submit, you need to check if your form passes data for all SP list's required fields (Title column is my first thought) or proper data type is passed by the form (e.g text instead of number) or you don't have permissions to add records to the list.

  • Sifu Profile Picture
    834 on at

    thanks in the mean time i did patch to all fields and done 😄 seems to work fine this way

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard