Skip to main content

Notifications

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)

Categories:

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,618 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,962 Most Valuable Professional

Leaderboard