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 Apps - Building Power Apps
Under review by Community Managers

Under review

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

collection through patching and making multiple fields required

Posted on by 88

Hello, 

Please check my function in red. I need all fields to be required. I am not sure what I am missing with my function. Please help!

 

If(
IsBlank(txtSupervisorEmail.Text) && (txtSiteName.Text) && (txtCompleteAddress.Text) && (txtBudgetCode.Text) && (txtComments.Text) && ('txtRequestOrder#'.Text),
Notify(
"This field is REQUIRED!",
NotificationType.Error
)
);
ForAll(
Gallery1_1.AllItems,
Patch(
'Master Transfer Request Form - Order List',
Defaults('Master Transfer Request Form - Order List'),
{
ItemType: ThisRecord.ItemType,
ItemName: ThisRecord.ItemName,
Detail: ThisRecord.Detail,
Unit: ThisRecord.Unit,
Quantity: ThisRecord.Quantity,
'Supervisor Email': txtSupervisorEmail.Text,
'Site Name': txtSiteName.Text,
'Complete Address': txtCompleteAddress.Text,
'Budget Code': txtBudgetCode.Text,
Comments: txtComments.Text,
'Request Order #': 'txtRequestOrder#'.Text
}
)
);
Reset(txtSupervisorEmail);
Reset(txtSiteName);
Reset(txtCompleteAddress);
Reset(txtBudgetCode);
Reset(txtComments);
Reset('txtRequestOrder#');
Clear(colMaterialTransferRequestForm);
Navigate(HomeScreen)

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 326 Most Valuable Professional

#2
11manish Profile Picture

11manish 168

#3
sannavajjala87 Profile Picture

sannavajjala87 75 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics