Validating textarea javascript

validating textarea javascript-31

Validating textarea javascript

We will create a simple contact form with 3 fields: name, email address and a message field.

Making the contact form simple (any form – for that matter) gets you more submissions.

To have the modal window/form open automatically on page load you can add a call to from outside the initialisation script as it is only defined within the scope of that function.

The final step is to add an 'onload' handler to the page.

function will be assigned to the form submit handler later in the code.

Last modified 16-Nov-2019 01:39