View Full Version : required fields

12-23-2006, 08:17 AM
how do i create a required field

12-23-2006, 02:52 PM
You would have to put some field checking into your form processing script. Checks like:

//If "NAME" was left blank:
if (!$_POST['name']);
echo "You forgot to fill in the name field.";

You can get a lot more complicated with your error checking than that. But, that should give you the gist of what you can do.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum