Salesforce Fact #509 | Custom validation message in screen flow using LWC

Suppose we need to show custom toast error message in screen flow using LWC.

We have two input fields: FirstName and LastName. If any of the input is not filled, the user cannot move to the next screen and gets to see a toast error message.

Attached are the screenshots.














Comments

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow