answersLogoWhite

0


Best Answer

Before JavaScript, all form validation was done on the server-side, using whatever language the developers had decided to work in.

This is still the case. While JavaScript validation can provide useful and immediate feedback to a user, developers cannotrely solely on JavaScript. This is because the client-side nature of JavaScript means that a hacker can change the code. Without server-side validation whatever value the hacker has now added will be passed into the program. This opens up a massive security hole as any individual with just a little knowledge can potentially insert malicious code into your program.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What was used before JavaScript for validating forms?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Can javascript be used in Jtextpane in swing?

No. JavaScript can be used only in HTML and other Web Components


How is javascript used?

JavaScript is used to make HTML DHTML or Dynamic HTML. Provides a lot more interactivity between the web page and the browser provided JavaScript is not turned off.


What is Undefined in javascript?

In JavaScript undefined is a special value used when a variable has not had a value set to it, or has not been declared.


What is a Javascript Void used for?

A Javascript Void can be used by a single computer programmer to evaluate a single command. It may also be used to purposely generate an undefined value.


Which programming language is used within HTML documents to trigger interactive features?

Javascript is the main language used, but there are some other scripting languages used too.

Related questions

How do you get a working comment box on your website?

To get a working comment/feedback box, you will need to use the programming languages HTML and Javascript (javascript is widely used for forms)


How are HTML forms and JavaScript related?

HTML is used to create forms. As it is not a programming language it cannot process the forms or make them do anything. So for example it can create a button but it cannot make something happen when you click it. To do that, you need a programming language. Javascript is a programming language that is used in HTML pages to do lots of things, including the processing of forms.


What unit is used for timing Javascript events?

Milliseconds are used for timing JavaScript events.


Can javascript be used in Jtextpane in swing?

No. JavaScript can be used only in HTML and other Web Components


What are the main functions of Javascript?

Javascript can be used on a variety of platforms which require simple computer commands but not a full programming language. Javascript can be used as or in addition to a full fledged programming language.


How is javascript used?

JavaScript is used to make HTML DHTML or Dynamic HTML. Provides a lot more interactivity between the web page and the browser provided JavaScript is not turned off.


Do you need java compiler to execute HTML programs written in javascript?

No, Java and JavaScript are nothing to do with each other, JavaScript is a form of EMCAScript, not Java. Every modern browser comes with a JavaScript engine that is used to understand JavaScript. so there is no need for it, no.


What is the use of id in javascript?

ID in JavaScript can be used to refer a control. For example getElementbyID("#name-of-id").


What programming language is used for webOS applications?

HTML5, JavaScript, CSS


What is Undefined in javascript?

In JavaScript undefined is a special value used when a variable has not had a value set to it, or has not been declared.


What is the difference between Javascript and Jquery?

JavaScript is a scripting language that is mainly used within a web browser. Jquery is a library of javascript code that can be used together with your javascript program. A set of functions that can preform common tasks is provided, which will reduce the amount of code that you have to write yourself.


What is a Javascript Void used for?

A Javascript Void can be used by a single computer programmer to evaluate a single command. It may also be used to purposely generate an undefined value.