Hi All,
I'm using a POST to pass input fields (text boxes) to this page.
I'm trying to verify that MUST fields are filled with text.
If they are OK,.. keep going.. if they are not,.. go back the calling page - that will prob need to be replaced with a javascripts:history(-1); of some sort.
But,.. I'm unable to verify the fields.
If either one of them is empty, I need return back.
But if they are all with some data, I want them to display the
value.
I've tried various combinations,... but was unsuccessful.
Could use u'r help on this.
thanks,
-Alon.
if (
(!isset($_POST['FirstName'])) ||
(!isset($_POST['LastName'])) ||
(!isset($_POST['Phone1']))
)
{
// echo "$FirstName First Name is Missing.";
echo "<meta http-equiv=\"Refresh\" content=\"6; URL=placeorder.html\">";
}