La fonction de suggestion automatique permet d'affiner rapidement votre recherche en suggérant des correspondances possibles au fur et à mesure de la frappe.
How do I have to modify the code to see my created error message just once.
I tried to put the if and else condition above the table row definition, but then nothing happens…
The reason that error message is printing multiple times is because it appears in the for loop. The code within the loop will execute once for each row in table, so that error will be printed once each time that if statement fails. To only print it once, you’d need it to appear outside of the for loop.
The reason that error message is printing multiple times is because it appears in the for loop. The code within the loop will execute once for each row in table, so that error will be printed once each time that if statement fails. To only print it once, you’d need it to appear outside of the for loop.