It will work with a span tag, but you should make sure to use the Tag Selector to select the area that the show if should be applied to. Highlight the text in design view, then go to the tag selector and select the tag that the error text is in.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.