John works as a Web Developer for TechCom Inc. He creates an ASP.NET application, named MyApp1, using Visual Studio .NET. Only registered users of the company will be able to use the application. The application contains a page, named NewAccount.aspx that allows new users to register themselves to the registered user list of the company. The NewAccount page contains several TextBox controls that accept users’ personal details such as username, password, confirm password, first name, last name, home address, zip code, phone number, etc. One of the TextBox controls on the page is named txtZipCode in which a user enters a Zip code. John wants to ensure that when a user submits the NewAccount page, txtZipCode must contain five numeric digits. He wants least development effort.
Which of the following validation controls will he use to accomplish the task? Each correct answer represents a part of the solution. Choose all that apply.
A . RequiredFieldValidator
B . RegularExpressionValidator
C . CompareValidator
D . RangeValidator
Answer: A,B