Heh, no, you just wrote the element :). As it may be easier to just have one error div, why don't you have multiple span errors inside that div and you show them according to the error?