function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Herish SurendranHerish Surendran 

I would like to display the alert using controller of aura component when the zip is not in the pattern [0-9]{5} or [0-9] {9}

I wold like to display this error on click the button. I want to do it this way only. Can anyone tell me how can it be done.