Captcha validation question
Is there a technique to prevent the form field contents clearing on submit, if the captcha validation fails?
Thanks, Paul.
Is there a technique to prevent the form field contents clearing on submit, if the captcha validation fails?
Thanks, Paul.
Yes there is.
Select your first form field and go to the properties inspector in Dreamweaver. Click on the little lightning bolt icon next to the value field in the inspector. This will bring up the bindings panel.
From this you'll see a validated form entries group, click that to expand it and choose the name of the field you selected in the form to set the default value of the form field to be the validated entry value.
Repeat this for each field in your form. Now, when CAPTCHA validation fails your other form fields will retain any data entered before the form was submitted.
Hope this helps you.
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.