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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard

Featured topics