Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, How do I make a form validation with HTML, CSS, and JavaScript that submits to an email address ONLY when every input is filled

Hello,

How do I make a form validation with HTML, CSS, and JavaScript that submits to an email address ONLY when every input is filled correctly? The form should give an alert in red writing at the bottom of each input slot when the user enters something incorrectly, for example,

image text in transcribed

I tried creating this form but either the error messages show up and the submission button to the email address does not work or the error messages show up, but the form still gets sent to the email address with the form being blank or filled in wrong. I really need your help.

I would like the form to have inputs for: name (full name with a space in between), email address, order number (10 digits with a hyphen), and a message/text area area with no more than 500 characters (a character counter would be great to have as well).

Please let me know if you have further questions, but I need this form to be created with these exact details, submits to an email address ONLY when everything is filled incorrectly (and everything else as explained above).

Thanks!

Create a Toss account Email The Email field is required. Name The Name field is required. Password The Password field is required. Confirm The password and confirmation password do not match. Register Confidentialit - Conditio

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

=+Where do you want to live and work?

Answered: 1 week ago

Question

=+1 Where are the best places in the world to live (and work)?

Answered: 1 week ago