PHP Forms - Required Fields - Need help

Thank you all for your help.
I found a JS code that do what I was looking for, here is the result:
http://cadtuts.eu/page7.php

Client-side validation only helps the visitor to your site, you MUST have server-side validation since external data can be set to anything in a request and cannot be trusted.

1 Like

add “required” to your input fields

<input type="text" id="diametre" name="diametre"  placeholder="diametre" required  >
Sponsor our Newsletter | Privacy Policy | Terms of Service