filmov
tv
How To Create a Contact Form | PHP Programming Tutorial Video

Показать описание
In this video, we are going to create a simple contact form. You can see here at the moment we just got to text fields and a text area the idea here is these are filled out the form, click Submit, and this is sent through to an email address with the relevant data.
let's go ahead and type in my name, is hoping a valid email address, now this form field here will be invalidated so the user will have to provide a valid email address and also message as well, we go ahead and click on Submit, has been submitted we've got this confirmation message thanks for contacting us an important point here is that we can't then go ahead and refresh the page to resend it because essentially seeing this sent variable hear, about that in a moment they have now received an email from Alex from PHP academy he can we talk which is the email address that we supplied and we've also got the message in here, now the good thing about this is we've supplied the email address that's been provided and we've put this into the From field so we can basically hit reply and this will then send us back to the email address that the user has provided. So essentially just a really quick way to get a contact form submission sent you an email address and then the ability to go ahead and reply email directly. so that's basically it let's just quickly take a look at what happens when we don't enter anything which is here we have a message here so error message that the name email messages are required to let's go ahead and fill the end but just so Alex in the email field for example and then just hello in here when I click Submit we get that validate email address so we validating this field here many other good thing about this is that you noticed that these form fields have retained their values we've refresh the page but we haven't actually got rid of these values which browsers will do by the fall so we're keeping these values as well so we'll be discussing all these points and creating a basic contact form so in the next part will be starting to write the mark-up and then we'll look at some PHP code.
➡️ About Full Stack Java Developer Masters Program
This Java Full Stack Developer course is designed to introduce you to front-end, middleware, and back-end Java web developement technologies. You will learn to build an end-to-end application, test and deploy code, store data using MongoDB, and much more.
✅ Key Features
- Simplilearn's JobAssist helps you get noticed by top hiring companies
- Kickstart Full Stack Java Developer career with industry-aligned curriculum by experts
- Hands-on practice through 20+ projects, assessments, and tests
- Learn cutting edge frameworks like React, Springboot, and many more
- Live interaction and applied learning with industry expert trainers
- Practice hands - on learning with Capstone Projects across 4 domains
✅ Skills Covered
- Agile
- Git
- SQL
- Core Java
- Spring
- Spring Boot
- HTML and CSS
- AWS
- Docker
- Jenkins
- JavaScript
- ReactJS
- Cucumber
- Maven JSP
- JDBC
- MongoDB
- JUnit
let's go ahead and type in my name, is hoping a valid email address, now this form field here will be invalidated so the user will have to provide a valid email address and also message as well, we go ahead and click on Submit, has been submitted we've got this confirmation message thanks for contacting us an important point here is that we can't then go ahead and refresh the page to resend it because essentially seeing this sent variable hear, about that in a moment they have now received an email from Alex from PHP academy he can we talk which is the email address that we supplied and we've also got the message in here, now the good thing about this is we've supplied the email address that's been provided and we've put this into the From field so we can basically hit reply and this will then send us back to the email address that the user has provided. So essentially just a really quick way to get a contact form submission sent you an email address and then the ability to go ahead and reply email directly. so that's basically it let's just quickly take a look at what happens when we don't enter anything which is here we have a message here so error message that the name email messages are required to let's go ahead and fill the end but just so Alex in the email field for example and then just hello in here when I click Submit we get that validate email address so we validating this field here many other good thing about this is that you noticed that these form fields have retained their values we've refresh the page but we haven't actually got rid of these values which browsers will do by the fall so we're keeping these values as well so we'll be discussing all these points and creating a basic contact form so in the next part will be starting to write the mark-up and then we'll look at some PHP code.
➡️ About Full Stack Java Developer Masters Program
This Java Full Stack Developer course is designed to introduce you to front-end, middleware, and back-end Java web developement technologies. You will learn to build an end-to-end application, test and deploy code, store data using MongoDB, and much more.
✅ Key Features
- Simplilearn's JobAssist helps you get noticed by top hiring companies
- Kickstart Full Stack Java Developer career with industry-aligned curriculum by experts
- Hands-on practice through 20+ projects, assessments, and tests
- Learn cutting edge frameworks like React, Springboot, and many more
- Live interaction and applied learning with industry expert trainers
- Practice hands - on learning with Capstone Projects across 4 domains
✅ Skills Covered
- Agile
- Git
- SQL
- Core Java
- Spring
- Spring Boot
- HTML and CSS
- AWS
- Docker
- Jenkins
- JavaScript
- ReactJS
- Cucumber
- Maven JSP
- JDBC
- MongoDB
- JUnit
Комментарии