The easiest way to add a failure message when validation fails is to set the failed login url to something like: loginpage.php?fail=1
Then you can use the "Show IF" server behavior to show a message if the fail url parameter is set.
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.