Form scripts

JavaScript can be used to handle different form events and perform some actions whenever an event occurs. The advantage of using form scripts is that they don't require any interaction with servers and they are executed on the client side itself. Scripts can be used for the following: