What if the visitor has javascript disabled?
If the visitor has javascript turned off, then the pre-validate function will not work. Post-validate will work just fine, however. You could even set up Defender to run both ways, though there is no really good reason to do so. The principal advantage of pre-validate is that you need modify only one file to add Defender to your web form. At this time, it is estimated that between 5% – 10% of all internet users run with javascript disabled, even though javascript itself is not, and has never been a security problem. (It is active-x controls, which can be separately disabled, that open the door for security problems.) It is considered good form to allow for those folks who do not use javascript. At the very least, a “you must have javascript enabled to continue” message would be more professional. WebForm Defender, if you choose to require javascript (it’s a setting in WebForm Defender), will post such a message for you.
Related Questions
- What does this message mean: "It appears that your browser has Javascript disabled. To take advantage of this sites features, please enable Javascript in your browser"?
- What does this message mean: "It appears that your browser has Javascript disabled. To take advantage of this sites features, please enable Javascript in your browser"?
- How can I change throught CSS styles the color of my text inputs if they are disabled?
- How can I change throught CSS styles the color of my text inputs if they are disabled?
- What if the visitor has javascript disabled?
- Where can a disabled visitor go on Dartmoor?