that code is from the validated entries dynamic binding group. the validated entries only gets a value if the form fails validation.
You the Form dynamic binding group instead of the validated entries binding group.
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.