Jump to content

PHP / Javascript Mixed Validation


phpretard

Recommended Posts

Here it is :)

 

<script language="javascript" type="text/javascript">

function validateForm(bd)
{

if(""==document.forms.bd.guest.value)
{
alert("We need to know how many will be are coming.");
return false;
}

if(""==document.forms.bd.comment.value)
{
alert("Please send us a message with your R.S.V.P.");
return false;
}
}
</script>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.