PHP Magic Book – Free PHP Scripts, Tutorials and Downloads, PHP AtoZ Reloaded, free php tutorials, free php downloads, php scripts, PHP tips

Archive for the ‘ Form ’ Category

Auto Populate Years Range In PHP

In forms its better approach to populate years drop down list rather then writing down every year manually. This script will ask you starting year and rest of years up till latest year it will populate for you.

(more…)

Tags: , ,
Posted in: Form, Useful Scripts
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

PHP AJAX Email Form

Send emails using PHP and AJAX. Its a complete AJAX PHP based email solution. Just download it and give it a try.

(more…)

Tags: , ,
Posted in: Ajax & PHP, Downloads, Email Systems, Form, Scripts
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Input Output in PHP

Here is how we can post data by a form and display it at using PHP. Create two files index.html and input.php and copy this code in these and try.

(more…)

Tags: ,
Posted in: Form, Input, PHP Basics
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Advanced Form Validation and Displaying Error Message – No Alert Dialogue Box

I have a feeling that every bit of any twitchy and creepy thing with web page can be done with a nice JS file. Got a form? Does it validate? Does it smack your face with a boring alert box saying! “Hey! Yo! You did not enter your name? Did you think I was stupid and did not know even that you were not entering data?“;

Hmm! Nice… Time for a bit of a change buddy. Look carefully down at following images and compare.

Old Validation

Advanced Validation

If you find 2nd one more creepy then read along. Again you need a smart JavaScript file to do the task for you.

(more…)

Tags: ,
Posted in: Form, Form Validation
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment

Number Validation in Forms

Following script will check that whether user has entered the number or digit in field. e.g. In Phone Number Text Field.

(more…)

Tags: ,
Posted in: Form, Form Validation
Post's RSS » RSS 2.0
Post's Comments RSS » RSS 2.0
Respond: Post A Comment



  Subscribe Via RSS
  Subscribe Via Email