Question · Python course · Module 5: Flask and Web Apps

DataRequired validator

What does the DataRequired() validator check?

Answer options

  • Whether the data is a valid email address
  • Whether the field is not empty
  • Whether the value is a number
  • Whether the text length is appropriate

You can check the correct answer by solving this task in the CodeWorlds game.