Long description

Back

The browser window has a tab titled Sample Form. The browser window consists of a level-1 heading and form content. A level-1 heading that reads, "Form Validation Examples" is at the top left of the form. The form content aligned to the left at indentation level 5 is shown below the heading. The contents of the form from top to bottom are as follows: An empty textbox labeled Title with placeholder value "Enter the painting title" is followed by the error message: The title is required (it cannot be blank). An empty textbox labeled Year with placeholder value "Enter the year of the painting" is followed by the error message: The year must be a valid number between 500 and 2014. An empty textbox labeled Medium with the value "Oil on canvas". An empty textbox labeled Width with the value "45". An empty textbox labeled Height with placeholder value "Enter the height in c m of the painting" followed by the error message: The painting height must be valid number larger than 0. An empty textbox labeled Link with placeholder value "Enter Wikipedia link for painting". A button labeled "Add" is placed below the last textbox at indentation level 7. The textboxes and the labels that are followed by an error message is highlighted in red indicating an error.

Back