﻿
var ReqFieldBroc = new RequiredField()
var ASPID = 'ctl00_ContentPlaceHolder1_';
ReqFieldBroc.Add(ASPID + 'tbx_bro_companyname', 'text', 'Enter Your Company Name');
ReqFieldBroc.Add(ASPID + 'tbx_bro_typeofbusiness', 'text', 'Enter Your Type Of Business');
ReqFieldBroc.Add(ASPID + 'tbx_bro_aboutyourcompany', 'text', 'Enter About Your Company');
ReqFieldBroc.Add(ASPID + 'fle_bro_docinformation', 'text', 'Select document Information file');
ReqFieldBroc.Add(ASPID + 'tbx_bro_target_audience', 'text', 'Enter target audience');
ReqFieldBroc.Add(ASPID + 'fle_bro_images_placeinyourbrochure', 'text', 'Enter place in your brochure');
/*
tbx_bro_companyname
tbx_bro_companywebaddress
tbx_bro_taglineslogan 
tbx_bro_typeofbusiness 
tbx_bro_aboutyourcompany 
fle_bro_exsitingbrochure 
fle_bro_docinformation 
fle_bro_Sample_Brochure 
tbx_bro_URLsYouLikeTheLook 
tbx_bro_target_audience
fle_bro_images_placeinyourbrochure 
tbx_bro_othersuggestions
fle_bro_ExsitingLogo 

*/
                  

function CheckInputs_bro() {
    try {

        var Msg = ReqFieldBroc.Check();
        if (Msg[0]) {
            return true;
        }
        else {
            alert(Msg[1])
            return false;
        }
    }
    catch (e) {
        alert(e);
    }    
}

                  
