vacaero resources - Vacuum service, technology, brazing, pump and Metallography Blogs


by Joseph

Contact Us

{source}
<script language=”JavaScript”>

function formCheck(formobj){

var fieldRequired = Array(“FirstName”, “LastName”,”Company”,”City”,”State”,”Country”,”PhoneNumber”,”E-Mail”);
var fieldDescription = Array(“First Name”, “Last Name”, “Company”, “City”, “State”, “Country”, “Phone Number”, “E-Mail” );

        var alertMsg = “Please complete the following fields:\n”;
        
        var l_Msg = alertMsg.length;
    
        for (var i = 0; i < fieldRequired.length; i++){
                var obj = formobj.elements[fieldRequired[i]];
                if (obj){
                        switch(obj.type){
                        case “select-one”:
                                if (obj.selectedIndex == -1 || obj.options[obj.selectedIndex].text == “”){
                                        alertMsg += ” – ” + fieldDescription[i] + “\n”;
                                }
                                break;
                        case “select-multiple”:
                                if (obj.selectedIndex == -1){
                                        alertMsg += ” – ” + fieldDescription[i] + “\n”;
                                }
                                break;
                        case “text”:
                        case “textarea”:
                                if (obj.value == “” || obj.value == null){
                                        alertMsg += ” – ” + fieldDescription[i] + “\n”;
                                }
                                break;
                        default:
                        }
                        if (obj.type == undefined){
                                var blnchecked = false;
                                for (var j = 0; j < obj.length; j++){
                                        if (obj[j].checked){
                                                blnchecked = true;
                                        }
                                }
                                if (!blnchecked){
                                        alertMsg += ” – ” + fieldDescription[i] + “\n”;
                                }
                        }
                }
        }

        if (alertMsg.length == l_Msg){
                return true;
        }else{
                alert(alertMsg);
                return false;
        }
}
// —>
</script>
<?php
    $doc =& JFactory::getDocument();
    $doc->addStyleSheet( JURI::root( true ).’/forms/stylesheet.css’ );
?>
{/source}

logo-vac-aero-smmBy Telephone: (905) 827-4171

Thank you for your interest in our Heat Treating Products & Solutions. Please use this form to Contact VAC AERO International Inc. We will respond to your request as quickly as possible. Please note that we at VAC AERO International Inc. respect your privacy.

Privacy Policy  –  Permission Email Policy

Please fill out our Request Info form, fields marked with an asterisk (*) are required information


First Name *
Last Name *
Company *
City *
State *
Country *
Phone Number *
E-Mail *
Notes*

Attachments: Use the Browse button to attach up to three files. We prefer that you do not zip the files. VAC AERO will send you a confirmation for your records very shortly.






Leave a Reply