MARCELO Posted February 23, 2018 Share Posted February 23, 2018 In this CSS https://www.w3schools.com/code/tryit.asp?filename=FOQOQ5FI80KI how can i add required fields (necessary to submit a message) and the option to also choose and send files from your pc with the message? Link to comment Share on other sites More sharing options...
Ingolme Posted February 23, 2018 Share Posted February 23, 2018 For required fields, you can use the required attribute. If you want to send files then use a file type input. You'll need to handle the uploaded file on the server-side, so here's the tutorial page for handling file uploads with PHP: https://www.w3schools.com/php/php_file_upload.asp Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now