Home  >  Article  >  Topics  >  What is the property that can check whether the input value in the field is legal?

What is the property that can check whether the input value in the field is legal?

青灯夜游
青灯夜游Original
2020-08-29 15:32:287818browse

The attribute that can check whether the input value in the field is legal is the "validity rule". The "validity rule" attribute is used to specify the range of data entered into the field to determine whether the data entered by the user is legal.

What is the property that can check whether the input value in the field is legal?

The attribute that can check whether the input value in the field is legal is ______.

A. Format

B. Default value

C. Validity Rules

D. Validity text

Correct answer: C

Answer analysis

The "format" attribute is used to define numbers, dates/times How to display and print text and text, you can use a certain predefined format, or you can use format symbols to create a custom format.

The "Default Value" attribute specifies a value that will be automatically entered into the field when a new record is created.

The "validity rule" attribute is used to specify the range of data entered into the field to determine whether the data entered by the user is legal.

The function of the "validity text" attribute is to display the corresponding prompt information when the entered data is not within the specified range to help the user correct the entered data. So option C is correct.

Related recommendations: "Access Tutorial"

The above is the detailed content of What is the property that can check whether the input value in the field is legal?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn