PHP Contact Form

PHP Contact Form with Add More File Attachment Option

July 11, 2018
In a contact form, users wish to have different combination of input fields. The contact form may contain input fields like name, email, website, description and lot more. Among those possible contact form fields, the file upload option is common to let the user send attachments with the contact form. If you are looking for […]
This tutorial was added to PHP.

PHP Contact Form with Google reCAPTCHA

January 9, 2018
Contact form with captcha code validation may be useful to validate a human user against bots. In a previous tutorial, we have seen how to add captcha code in a form using PHP. In this tutorial, we are going to integrate the Google reCAPTCHA in PHP contact form. Using this Google reCAPTCHA code, we can […]
This tutorial was added to PHP.

Responsive Contact Form with PHP

January 8, 2018
The responsive contact form is designed to fit various viewport in different width. I used CSS media queries to design this responsive contact form. In a previous tutorial, we have seen how to do the responsive design with CSS media queries. In this example, the responsive contact form has the Name, Email, Phone and the Message fields. […]
This tutorial was added to PHP.

Slide-In Contact Form using jQuery

January 5, 2018
In this tutorial, let us see how to create a Slide-In contact form using jQuery. In a previous tutorial, we have seen floating contact form while scrolling the web page vertically. In this example, I have shown a contact button on top of the page content. On the click event of this button, I toggled the contact […]
This tutorial was added to jQuery.

Send Email with Multiple Attachments using PHP

December 19, 2017
In this tutorial, we are going to learn about sending an email with multiple attachments. We will be using the PHPMailer. The attachment files are chosen and attached to the email via an HTML form. I have used jQuery AJAX to call the mail script by posting email data with the attachments. If you are looking for a […]
This tutorial was added to PHP.

jQuery Form Validation with Tooltip

July 20, 2015
In this tutorial, we are validating a contact form and showing error message by using jQuery tooltip. In a previous tutorial, we have seen an example of jQuery AJAX contact email with form validation. In this jQuery tooltip example, we are highlighting form fields to show validation results. And then we are calling tooltip function […]
This tutorial was added to jQuery.

PHP Captcha using jQuery AJAX

December 10, 2014
Captcha code in a form is used for ensuring that the form is submitted with manual intervention without any tools or programs. In the previous tutorial, we have seen how to add captcha in PHP. In this tutorial, we are using jQuery AJAX for getting captcha image from PHP. Using jQuery we can also refresh […]
This tutorial was added to jQuery.

Floating Contact Form using jQuery AJAX

October 29, 2014
jQuery floating contact form gives modern look and feels to our website. This tutorial has an example to show a sticky floating contact form in a web page. In this example, we have a contact icon which will be sliding up and down based on the page scroll. On clicking this icon the contact form […]
This tutorial was added to jQuery.

jQuery Contact Form with Attachment using PHP

October 16, 2014
In this tutorial, we are going see an example program for sending file attachments with the contact form email. We are using PHPMailer through SMTP for sending an email. In a previous tutorial, we have seen how to send contact form email using PHP and jQuery without attachment. In this example, I have shown an HTML […]
This tutorial was added to jQuery.

PHP Contact Form with jQuery AJAX

October 15, 2014
PHP AJAX contact form is used to send contact information to the back end without page refresh. In this tutorial, we have given an example contact form for collecting user queries, feedback and etc. After client-side validation, these form data will be sent to a PHP page through a jQuery AJAX call. After sending contact […]
This tutorial was added to jQuery.

↑ Back to Top