Skip to content

Latest commit

 

History

History
15 lines (7 loc) · 539 Bytes

File metadata and controls

15 lines (7 loc) · 539 Bytes

Exercise - Input Validation Using the Message Class

  1. In ShowProducts, make the ProductName column mandatory by adding an error message if the field is empty.
  2. Add a warning message if the UnitsInStock is less than 10.
  3. Add an error message if the UnitsOnOrder is between 50 and 100.
  4. Save changes to Git.
  5. Build and test.
<iframe width="560" height="315" src="https://www.youtube.com/embed/I3akajlcREo?list=PL1DEQjXG2xnL1VKb5GvdDwxJeym7Uj6S3" frameborder="0" allowfullscreen></iframe>