Custom validation in Lightning Web Component | Understanding Regular Expressions (Regex)

Опубликовано: 10 Октябрь 2024
на канале: SFDC Stop
7,845
56

Hello Trailblazers, In this video we're going to learn how we can we add custom validation in Lightning Web Components. We're also going to learn about Regex (Regular Expressions) and will see how we can implement those in lwc.

Chapters:
0:00 Introduction
1:09 Background implementation
3:54 JavaScript validation
8:12 Email validation using regex
16:41 Phone validation using regex
21:04 Pincode validation using predefined properties
25:28 Wrapping up and resources

Code: https://github.com/rahulmalhotra/sale...

Blog: https://www.sfdcstop.com/2021/08/cust...

Subscribe to SFDC Stop:- https://www.youtube.com/c/sfdcstop?su...

LWC Todo App Project Tutorial Series -    • Simplifying the Callouts in Salesforc...  

Interested in learning about Scratch Orgs and SFDX ? Have a look at the playlist:-    • Getting started with Scratch Orgs and...  

Interested in learning about Integration ? Have a look at this playlist:-    • Salesforce Integration Tutorial Series