Voici un snippet d'un projet web que Jake a eu la chance d'hériter ...

Private Sub btnRun_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) 
        Dim QnumAs2 As Int16 = Server.HtmlEncode(Request.Cookies("QnumAs").Value)
        lblError.Visible = False
        If answer1.Text = "" Or answer2.Text = "" Then
            Beep()
            lblError.Text = "ERROR: Answers can NOT be BLANK!!!"
            lblError.Visible = True
            Exit Sub
        End If

        If (QnumAs2 > 2 And answer3.Text = "") Or (QnumAs2 > 3 And answer4.Text = "") Or _
           (QnumAs2 > 4 And answer5.Text = "") Then
            Beep()
            lblError.Text = "ERROR: Answers can NOT be BLANK!!!"
            lblError.Visible = True
            Exit Sub
        End If


Au cas où vous ne seriez pas à l'aise avec l'ASP.NET, ce code est exécuté sur le serveur en réponse à la soumission d'un formulaire... Hum, au moins l'administrateur système saura quand vous aurez rempli une réponse vide !