Ways to shoot yourself in the foot: element validation