You have an Angular form where users can input an email address. You want to check in real-time whether the email address is already registered in your system. Which type of validation would be suitable for this?

  • Async Validators that perform server-side checks.
  • Built-in Validators like required and email.
  • Custom Synchronous Validators with JavaScript functions.
  • Pattern Validators with regular expressions.
To check in real-time whether an email address is already registered, you should use Async Validators that perform server-side checks, allowing you to query the server for existing email addresses.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *