Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Support with Validation

Status
Not open for further replies.

murphyhg

Technical User
Joined
Mar 1, 2006
Messages
98
Location
US
I have a javascript function that is on 2 radio buttons and 2 input boxes. It validates fine when the input boxes are empty. The first radio button is contact by email, when I select that if the input button is empty it displays an inline error message. Well the problem is when I fill out both fields and I select the radio button for email or phone. It is displaying the error message. How can I fix this?

<script>
function checkCustomValidation(acceptme)
{
if (acceptme == "Phone")
document.getElementById("Email").style.display ="none";
else
document.getElementById("Phone").style.display ="none";

document.getElementById(acceptme).style.display ="inline";

if ((document.AddOrg.acceptme.value == null) || (document.AddOrg.acceptme.value == ''))
return false;
else
return true;
}
</script>
 
what is "acceptme"?

for if statements with more than one line, you need surrounding curly braces...

Code:
function checkCustomValidation(acceptme) {
    if (acceptme == "Phone") {
        document.getElementById("Email").style.display ="none";
    } else {
        document.getElementById("Phone").style.display ="none";
        document.getElementById(acceptme).style.display ="inline";
    }
    if (document.AddOrg.acceptme.value == '')
        return false;
    else
        return true;
}



*cLFlaVA
----------------------------
[tt]( <P> <B>)13 * (<P> <.</B>)[/tt]

[URL unfurl="true"]http://www.coryarthus.com/[/url]
 
I tried your code however. It makes the phone validation not work. When I select phone with your code I don't get a display error message when the field is empty.
 
Here is my code. It is quite long that is why I was hesitant about showing all of it.

function Valid_Method(abc)
{
radio_choice = abc;
if (radio_choice == 1)
{
if (!(checkCustomValidation("Phone")))
return false;
}
else if (radio_choice == 2)
{
if (! (checkCustomValidation("Email")))
return false;
}

<script>
function checkCustomValidation(acceptme)
{
if (acceptme == "Phone")
document.getElementById"Email").style.display="none";
else
document.getElementById("Phone").style.display ="none";

document.getElementById(acceptme).style.display ="inline";

if ((document.AddOrg.acceptme.value == null) || (document.AddOrg.acceptme.value == ''))
return false;
else
return true;
}
</script>

<div class=error id="Email" style=" font-size:9px; color:#FF0000; display:none;">Required: Please enter a valid email address</div>


<cfinput type="Text" value="#session.PeerContactStruct.email#" name="email" label="Email: (Phone or email is required)"
validateat="onServer" message="Enter a valid E-mail Address." validate="Email" tooltip="Email" required="no" visible="Yes"
enabled="Yes" size="#inputFieldSize#" onChange="runBoth();" maxlength="150" tabindex="100" alt="email|bok" emsg="Please provide a Valid Email Address or phone">

<div class=error id="Phone" style="font-size:9px; color:#FF0000; display:none;" align="left">Required: Please enter a valid Phone Number</div>

<cfinput type="Text" name="Phone" value="#Trim(session.PeerContactStruct.phone)#" width="150" validateat="onServer"
message="Enter a valid Phone Number." validate="telephone" required="No" size="11" maxlength="14" tabindex="80"
alt="phone|bok" emsg="Please enter Phone Number or Email" onChange="runBoth();">

<cfinput onClick="javascript:Valid_Method(this.value);" type="radio" checked="#checkedYesNo#" name="contact_method" value="#ID#"
tabindex="101" required="Yes" validateat="onServer" alt="radio" message="Select a Preferred Contact Method." emsg="#emsg#">
 
Since the op passes the parameter acceptme like this.
> [tt]function checkCustomValidation(acceptme)[/tt]
They have probably to change the format of referencing to the one which stands ready to take the variable as field name, from:
>[tt] if ((document.AddOrg.acceptme.value == null) || (document.AddOrg.acceptme.value == ''))[/tt]
to
[tt] if ((document.AddOrg.[red]elements[[/red]acceptme[red]][/red].value == null) || (document.AddOrg.[red]elements[[/red]acceptme[red]][/red].value == ''))[/tt]

Or the same for the variants per cLFlaVA's advice.

 
<META Http-Equiv="Cache-Control" Content="no-cache">
<META Http-Equiv="Pragma" Content="no-cache">
<META Http-Equiv="Expires" Content="0">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<html xmlns="<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CFBCI TLC Admin Interface Add Peer Contact Information - Step 2 of 3</title>
<link rel="stylesheet" type="text/css" href="../includes/cfbci.css">
<link rel="stylesheet" type="text/css" href="../includes/NewCSS.css">
<script language="JavaScript">
<!-- by Darren Richardson -->
function meBack() {
history.go(-1)
}
</script>
<script type="text/javascript" src="js/fValidate.config.js"></script>
<script type="text/javascript" src="js/fValidate.core.js"></script>
<script type="text/javascript" src="js/fValidate.lang-enUS.js"></script>
<script type="text/javascript" src="js/fValidate.validators.js"></script>
<script type="text/javascript" src="js/fValidate.basic.js"></script>
<script type="text/javascript" src="js/mySlushBox.js"></script>
<script type="text/javascript" src="js/fValidate.extended.js"></script>
<script type="text/javascript" src="js/fValidate.logical.js"></script>
<script type="text/javascript" src="js/fValidate.controls.js"></script>
<script type="text/javascript" src="js/fValidate.web.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/cfform.js"></script>
<script type="text/javascript" src="/CFIDE/scripts/masks.js"></script>
<script type="text/javascript">
<!--
function _CF_checkAddOrg(_CF_this)
{
//reset on submit
_CF_error_exists = false;
_CF_error_messages = new Array();
_CF_error_fields = new Object();
_CF_FirstErrorField = null;

//form element skill1 required check
if( !_CF_hasValue(_CF_this['skill1'], "SELECT", false ) )
{
_CF_onError(_CF_this, "skill1", _CF_this['skill1'].value, "Error in skill1 text.");
_CF_error_exists = true;
}

//form element skill2 required check
if( !_CF_hasValue(_CF_this['skill2'], "SELECT", false ) )
{
_CF_onError(_CF_this, "skill2", _CF_this['skill2'].value, "Error in skill2 text.");
_CF_error_exists = true;
}

//form element skill3 required check
if( !_CF_hasValue(_CF_this['skill3'], "SELECT", false ) )
{
_CF_onError(_CF_this, "skill3", _CF_this['skill3'].value, "Error in skill3 text.");
_CF_error_exists = true;
}

//form element skill4 required check
if( !_CF_hasValue(_CF_this['skill4'], "SELECT", false ) )
{
_CF_onError(_CF_this, "skill4", _CF_this['skill4'].value, "Error in skill4 text.");
_CF_error_exists = true;
}

//form element skill5 required check
if( !_CF_hasValue(_CF_this['skill5'], "SELECT", false ) )
{
_CF_onError(_CF_this, "skill5", _CF_this['skill5'].value, "Error in skill5 text.");
_CF_error_exists = true;
}


//display error messages and return success
if( _CF_error_exists )
{
if( _CF_error_messages.length > 0 )
{
// show alert() message
_CF_onErrorAlert(_CF_error_messages);
// set focus to first form error, if the field supports js focus().
if( _CF_this[_CF_FirstErrorField].type == "text" )
{ _CF_this[_CF_FirstErrorField].focus(); }

}
return false;
}else {
return true;
}
}
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="Main">
<table width="760" cellspacing="2" cellpadding="3" border="0">
<tr class="menuhead">
<th scope="row" width="15%" rowspan="2" valign="top"> <table cellpadding="5" cellspacing="0" align="left" width="100%" border="0">
<tr class="menuhead">
<th scope="row"><a href="index.cfm" class="home" tabindex="1">Home</a></th>
</tr>
<tr class="menu">
<th scope="row" class="menu">Organizations</th>
</tr>
<tr>
<td scope="row" class="menu" align="left"><ul>
<li><a href="index.cfm?Circuit=Organization&fuseaction=Add" tabindex="2">Add</a></li>
<li><a href="index.cfm?Circuit=Organization&fuseaction=View" tabindex="3">View All</a></li>
</ul></td>
</tr>
<tr class="menu">
<th scope="row" class="menu">Peer Contacts</th>
</tr>
<tr>
<td scope="row" class="menu" align="left"><ul>
<li><a href="index.cfm?Circuit=PeerContact&fuseaction=SelectOrg" tabindex="4">Add</a></li>
<li><a href="index.cfm?Circuit=PeerContact&fuseaction=View" tabindex="5">View All</a></li>
</ul></td>
</tr>
<tr class="menu">
<th scope="row" class="menu">Resources</th>
</tr>
<tr>
<td scope="row" class="menu" align="left"><ul>
<li><a href="index.cfm?Circuit=Resource&fuseaction=SelectOrg" tabindex="6">Add</a></li>
<li><a href="index.cfm?Circuit=Resource&fuseaction=View" tabindex="7">View All</a></li>
</ul></td>
</tr>
<tr class="menuhead">
<th scope="row"><a href="index.cfm?Circuit=Logout" class="home" tabindex="8">Logout</a></th>
</tr>
</table></th>
<td width="85%" height="25" class="menuHead">CFBCI Grantee Directory</td>
</tr>
<tr class="content">
<td height="600" valign="top"><script language="javascript">


function Valid_Method(abc)
{
radio_choice = abc;
if (radio_choice == 1)
{
//alert(document.AddOrg.Phone.attributes["alt"].value);
//for (var abcdef = 0; abcdef < 10; abcdef++ )
//{
if (!(checkCustomValidation("Phone")))
return false;
document.AddOrg.Phone.attributes["alt"].value = "phone|0";
document.AddOrg.email.attributes["alt"].value = "email|bok";
document.AddOrg.Phone.click;
//document.AddOrg.Phone.attributes["alt"].value = "phone|0";
//document.AddOrg.email.attributes["alt"].value = "email|bok";
//document.AddOrg.Phone.click;
//document.AddOrg.Phone.focus();
//document.AddOrg.submit();
//validateForm(document.AddOrg,0,0,0,1,15);
//}
//alert(document.AddOrg.Phone.attributes["alt"].value);
//alert(document.AddOrg.email.attributes["alt"].value);
//alert(document.AddOrg.Phone.attributes["alt"].value);
//if (document.AddOrg.Phone.value =="")
//{
//alert("Enter a Phone Number");
//return false;
//}
}
else if (radio_choice == 2)
{
if (! (checkCustomValidation("Email")))
return false;
//for (var abcdef = 0; abcdef < 10; abcdef++ )
//{
document.AddOrg.Phone.attributes["alt"].value = "phone|bok";
document.AddOrg.email.attributes["alt"].value = "email";
//validateForm(document.AddOrg,0,0,0,1,15);
//alert(document.AddOrg.email.attributes["alt"].value);
//alert(document.AddOrg.Phone.attributes["alt"].value);
//document.AddOrg.email.click;
//}
//alert(document.AddOrg.Phone.attributes["alt"].value);
//alert(document.AddOrg.email.attributes["alt"].value);

//document.AddOrg.email.attributes["alt"].value = "blank";
//alert(document.AddOrg.email.attributes["alt"].value);
//if (document.AddOrg.email.value =="")
//{
//alert("Enter a valid E-mail Address");
//return false;
//}
}
else if ((radio_choice == 3))
{
document.AddOrg.email.attributes["alt"].value = "email";
document.AddOrg.Phone.attributes["alt"].value = "phone|bok";
//if ((document.AddOrg.Phone.value == "") && (document.AddOrg.email.value == ""))
//{
//alert("Provide a Phone Number or E-mail Address");
//return false;
//}
}
else if ((radio_choice == 4))
{
document.AddOrg.email.attributes["alt"].value = "email|bok";
document.AddOrg.Phone.attributes["alt"].value = "phone|bok";
//if ((document.AddOrg.Phone.value == "") && (document.AddOrg.email.value == ""))
//{
//alert("Provide a Phone Number or E-mail Address");
//return false;
//}
}

}
</script>
<script>
function checkCustomValidation(acceptme)
{
if (acceptme == "Phone")
document.getElementById("Email").style.display ="none";
else
document.getElementById("Phone").style.display ="none";

document.getElementById(acceptme).style.display ="inline";

if ((document.AddOrg.acceptme.value == null) || (document.AddOrg.acceptme.value == ''))
return false;
else
return true;
}
</script>
<script language="javascript">
function mergeZip()
{
document.AddOrg.zip.value = document.AddOrg.Zip5.value + document.AddOrg.Zip4.value;
}

function MergePhone()
{
document.AddOrg.DoPhone.value = document.AddOrg.Ext.value;
document.AddOrg.FullPhone.value = document.AddOrg.Phone.value + "x" + document.AddOrg.Ext.value;
}
function ChangeDropDown(me3)
{
if (me3.name == "skill1")
{
document.AddOrg.skill2.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill3.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill4.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill5.attributes["alt"].value = "selecti|0," + me3.value;
}
if (me3.name == "skill2")
{
document.AddOrg.skill1.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill3.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill4.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill5.attributes["alt"].value = "selecti|0," + me3.value;
}
if (me3.name == "skill3")
{
document.AddOrg.skill1.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill2.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill4.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill5.attributes["alt"].value = "selecti|0," + me3.value;
}
if (me3.name == "skill4")
{
document.AddOrg.skill1.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill2.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill3.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill5.attributes["alt"].value = "selecti|0," + me3.value;
}
if (me3.name == "skill5")
{
document.AddOrg.skill1.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill2.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill3.attributes["alt"].value = "selecti|0," + me3.value;
document.AddOrg.skill4.attributes["alt"].value = "selecti|0," + me3.value;
}
//alert("skill 1" + document.AddOrg.skill1.attributes["alt"].value);
//alert("skill 2" + document.AddOrg.skill2.attributes["alt"].value);
//alert("skill 3" + document.AddOrg.skill3.attributes["alt"].value);
//alert("skill 4" + document.AddOrg.skill4.attributes["alt"].value);
//alert("skill 5" + document.AddOrg.skill5.attributes["alt"].value);
}
function runBoth()
{
//alert(document.AddOrg.contact_method.value);
mergeZip();
MergePhone();
/*
for (var xyz =0; xyz < document.AddOrg.contact_method.length; xyz++)
{
if (document.AddOrg.contact_method[xyz].checked != false)
{
Valid_Method(document.AddOrg.contact_method[xyz].value);
//alert(document.AddOrg.contact_method[xyz].value);
}
}
*/
}

function select_all()
{
for ( var j = 0; j < document.AddOrg.peer_contact_states_right.length; j++ )
{
document.AddOrg.peer_contact_states_right.options[j].selected = true;

}
}

function check_MMethod()
{
for (var xyz =0; xyz < document.AddOrg.contact_method.length; xyz++)
{
if (document.AddOrg.contact_method[xyz].checked != false)
{
//alert(xyz);
if (xyz == 1)
{
if ((document.AddOrg.email.value == null) || (document.AddOrg.email.value == ''))
{
alert("Enter the valid Email Address");
document.AddOrg.Phone.attributes["alt"].value = "phone|bok";
document.AddOrg.email.attributes["alt"].value = "email";
return false;
}
else
return true;
}
/*
else if (xyz == 2)
{
alert("Please enter the Email Address");
return false;
}
*/
else if (xyz == 3)
{
if ((document.AddOrg.Phone.value == null) || (document.AddOrg.Phone.value == ''))
{
alert("Enter a Phone Number");
document.AddOrg.email.attributes["alt"].value = "email|bok";
document.AddOrg.Phone.attributes["alt"].value = "phone";
return false;
}
else
return true;
}
else if ((xyz == 0) || (xyz == 4))
{
if ((document.AddOrg.Phone.value == null) || (document.AddOrg.Phone.value == '') && ((document.AddOrg.email.value == null) || (document.AddOrg.email.value == '')))
{
alert("Enter a Phone Number or Valid Email Address");
document.AddOrg.email.attributes["alt"].value = "email|bok";
document.AddOrg.Phone.attributes["alt"].value = "phone|bok";
return false;
}
else
return true;
}
else
{
//emailORPhone();
//return false;
return emailORPhone();
}
}
}
}
function emailORPhone()
{
//alert("Phone" + " " + document.AddOrg.Phone.value);
//alert("Email" + " " + document.AddOrg.email.value);
if (((document.AddOrg.email.value == '') || (document.AddOrg.email.value == null)) && ((document.AddOrg.Phone.value == '') || (document.AddOrg.Phone.value == null)))
return false;
else
return true;
}
</script>
<h3>Add Peer Contact Information - Step 2 of 3</h3>
<form name="AddOrg" action="index.cfm" method="POST" style="border:0 " class="smallfieldcell" onload="runBoth();" onSubmit="select_all(); runBoth(); if (validateForm(this,0,0,0,1,15)) return check_MMethod(); else return false;">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="200"></td>
<td width="350"></td>
</tr>
<tr>
<td><label for="org_name">Organization Name:</label>
</td>
<td><input name="org_name" id="org_name" type="text" value="ABC Organization" maxlength="150" tooltip="Organization Name" disabled="disabled" class="fieldcell" tabindex="9" size="50" emsg="Enter an Organization Name" alt="blank" />
</td>
</tr>
<input name="org_name" id="org_name" type="hidden" value="ABC Organization" />
<tr>
<td valign="top"><label for="peer_contact_states_right">Select Peer Contact for Org in State(s):</label>
</td>
<td><table border="0">
<tr>
<td><select class="fieldcell" name="peer_contact_states_left" size="5" multiple style=" width:100px " onDblClick="moveDualList(document.AddOrg.peer_contact_states_left, document.AddOrg.peer_contact_states_right, false);" tabindex="10" >
<BR>
<option value="10">GA</option>
</select></td>
<td><center>
<INPUT TYPE="Button" VALUE="&gt;&gt;" STYLE="width:20px; height:15px; font-size:9px; background-color:#F0EFD9;" onClick="moveDualList(document.AddOrg.peer_contact_states_left, document.AddOrg.peer_contact_states_right, true);">
<BR>
<INPUT TYPE="Button" VALUE="&gt;" STYLE="width:20px; height:15px; font-size:9px; background-color:#F0EFD9;" onClick="moveDualList(document.AddOrg.peer_contact_states_left, document.AddOrg.peer_contact_states_right, false);">
<BR>
</center>
<center>
<INPUT TYPE="Button" VALUE="&lt;" STYLE="width:20px; height:15px; font-size:9px; background-color:#F0EFD9;" onClick="moveDualList(document.AddOrg.peer_contact_states_right, document.AddOrg.peer_contact_states_left, false);">
<BR>
<INPUT TYPE="Button" VALUE="&lt;&lt;" STYLE="width:20px; height:15px; font-size:9px; background-color:#F0EFD9;" onClick="moveDualList(document.AddOrg.peer_contact_states_right, document.AddOrg.peer_contact_states_left, true);">
<BR>
</center></td>
<td><select class="fieldcell" name="peer_contact_states_right" size="5" style=" width:100px " multiple onDblClick="moveDualList(document.AddOrg.peer_contact_states_right, document.AddOrg.peer_contact_states_left, false);" alt="selectm|1" emsg="Please select Peer Contact for Org in State(s)">
><BR>
</select>
</td>
<input name="peer_contact_states_right_required" id="peer_contact_states_right_required" type="hidden" value="Please provide the states" />
</tr>
</table></td>
</tr>
<tr>
<td><label for="Last_name">Last Name:</label></td>
<td><input name="Last_name" id="Last_name" type="text" maxlength="150" tabindex="20" emsg="Enter a Last Name" size="25" alt="blank" />
</td>
</tr>
<tr>
<td><label for="First_name">First Name:</label></td>
<td><input name="First_name" id="First_name" type="text" maxlength="150" tooltip="First_name" enabled="Yes" size="25" tabindex="30" emsg="Enter a First Name" visible="Yes" alt="blank" /></td>
</tr>
<tr>
<td><label for="address">Street Address:</label></td>
<td><input name="address" id="address" type="text" maxlength="150" enabled="Yes" size="50" tooltip="Address" visible="Yes" tabindex="40" /></td>
</tr>
<tr>
<td><label for="city">City:</label></td>
<td><table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"></td>
<td width="30%" align="right"></td>
<td width="20%"></td>
</tr>
<tr>
<td><input name="city" id="city" type="text" maxlength="150" enabled="Yes" size="25" tooltip="City" visible="Yes" tabindex="50" />
</td>
<td><label for="state">State:</label></td>
<td><select name="state" width="70" enabled="Yes" onchange="ChangeDropDown(this);" size="1" visible="Yes" tooltip="State" tabindex="51" >
<option value="0" selected="selected">N/A</option>
<option value="2">AK </option>
<option value="1">AL </option>
<option value="4">AR </option>
<option value="3">AZ </option>
<option value="5">CA </option>
<option value="6">CO </option>
<option value="7">CT </option>
<option value="51">DC </option>
<option value="8">DE </option>
<option value="9">FL </option>
<option value="10">GA </option>
<option value="55">GU </option>
<option value="11">HI </option>
<option value="15">IA </option>
<option value="12">ID </option>
<option value="13">IL </option>
<option value="14">IN </option>
<option value="16">KS </option>
<option value="17">KY </option>
<option value="18">LA </option>
<option value="21">MA </option>
<option value="20">MD </option>
<option value="19">ME </option>
<option value="22">MI </option>
<option value="23">MN </option>
<option value="25">MO </option>
<option value="24">MS </option>
<option value="26">MT </option>
<option value="33">NC </option>
<option value="34">ND </option>
<option value="27">NE </option>
<option value="29">NH </option>
<option value="30">NJ </option>
<option value="31">NM </option>
<option value="28">NV </option>
<option value="32">NY </option>
<option value="35">OH </option>
<option value="36">OK </option>
<option value="37">OR </option>
<option value="38">PA </option>
<option value="54">PR </option>
<option value="39">RI </option>
<option value="40">SC </option>
<option value="41">SD </option>
<option value="42">TN </option>
<option value="43">TX </option>
<option value="44">UT </option>
<option value="46">VA </option>
<option value="53">VI </option>
<option value="45">VT </option>
<option value="47">WA </option>
<option value="49">WI </option>
<option value="48">WV </option>
<option value="50">WY </option>
</select>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><label for="Zip5">Zip Code:</label></td>
<td><table border="1" width="100%" cellpadding="0" cellspacing="0">
<tr>
<td width="50%"></td>
<td width="30%" align="right"></td>
<td width="20%"></td>
</tr>
<tr>
<td><input name="Zip5" id="Zip5" type="text" maxlength="5" size="5" tabindex="60" onchange="runBoth();" />
</td>
<td><label for="Zip4">+ 4 optional&nbsp;&nbsp;</label></td>
<td><input name="Zip4" id="Zip4" type="text" maxlength="4" size="4" tabindex="70" onchange="runBoth();" />
</td>
</tr>
</table></td>
<input name="zip" id="zip" type="hidden" />
</tr>
<input name="ORGSELECTED" id="ORGSELECTED" type="hidden" value="8" />
<tr>
<td colspan="2"><div class=error id="Phone" style="font-size:9px; color:#FF0000; display:none;" align="left">Required: Please enter a valid Phone Number</div></td>
</tr>
<tr>
<td><label for="Phone">Phone:</label></td>
<td><input name="Phone" id="Phone" type="text" maxlength="14" width="150" emsg="Please enter Phone Number or Email" size="11" onchange="runBoth();" alt="phone|bok" tabindex="80" />
<label for="Ext">x</label>
<input name="Ext" id="Ext" type="text" maxlength="4" width="50" size="4" onchange="runBoth();" tabindex="90" alt="number|bok" class="smallfieldcell2" /></td>
</tr>
<input name="DoPhone" id="DoPhone" type="hidden" />
<input name="FullPhone" id="FullPhone" type="hidden" />
<tr>
<td colspan="2"><div class=error id="Email" style=" font-size:9px; color:#FF0000; display:none;">Required: Please enter a valid email address</div></td>
</tr>
<tr>
<td><label for="email">Email: (Phone or email is required)</label></td>
<td><div class=error id="Email" style=" color:#FF0000; display:none">Required: Please enter a valid email address</div>
<input name="email" id="email" type="text" maxlength="150" enabled="Yes" onchange="runBoth();" tabindex="100" size="25" visible="Yes" emsg="Please provide a Valid Email Address or phone" tooltip="Email" alt="email|bok" /></td>
</tr>
<tr>
<td><label for="contact_method">Preferred contact method(s):</label></td>
<td><script language="javascript">
function getMyValue()
{
return "0";
}
</script>
<input name="contact_method" id="contact_method" type="radio" value="4" emsg="Select a Preferred Contact Method." alt="radio" tabindex="101" onclick="javascript:Valid_Method(this.value);" />
<span class="style6">All</span>&nbsp;&nbsp;
<script language="javascript">
function getMyValue()
{
return "0";
}
</script>
<input name="contact_method" id="contact_method" type="radio" value="3" alt="radio" tabindex="101" onclick="javascript:Valid_Method(this.value);" />
<span class="style6">Both</span>&nbsp;&nbsp;
<script language="javascript">
function getMyValue()
{
return "0";
}
</script>
<input name="contact_method" id="contact_method" type="radio" value="2" alt="radio" tabindex="101" onclick="javascript:Valid_Method(this.value);" />
<span class="style6">By Email</span>&nbsp;&nbsp;
<script language="javascript">
function getMyValue()
{
return "0";
}
</script>
<input name="contact_method" id="contact_method" type="radio" value="1" alt="radio" tabindex="101" onclick="javascript:Valid_Method(this.value);" />
<span class="style6">By Phone</span>&nbsp;&nbsp; </td>
</tr>
<tr>
<td colspan="2"><label for="skill6">Select Area(s) of Experience:</label></td>
</tr>
<input name="skill6" id="skill6" type="hidden" />
<tr>
<td><label for="skill1"># 1 Skill Area:</label>
<BR />
</td>
<td><select name="skill1" visible="Yes" enabled="Yes" tooltip="State" width="285" tabindex="110" size="1" emsg="Select Skill Area 1" alt="selecti|0" onchange="ChangeDropDown(this);" >
<option value="0" selected="selected">Please Select</option>
<option value="1">Access</option>
<option value="2">Accountability - reporting; record keeping</option>
<option value="3">Barriers</option>
<option value="4">Capacity Building</option>
<option value="5">Contracting</option>
<option value="6">Eligibility - Registration</option>
<option value="7">Employability</option>
<option value="8">Funding</option>
<option value="9">Intermediaries</option>
<option value="10">Legal Issues</option>
<option value="11">Mapping</option>
<option value="12">Outreach</option>
<option value="13">Partnerships</option>
<option value="14">Partnerships - Financial</option>
<option value="15">Partnerships - Non-Financial</option>
<option value="16">Performance Standards</option>
<option value="17">Procurement</option>
<option value="18">Promising Practices</option>
<option value="19">Referral Process</option>
<option value="20">Relationship</option>
<option value="21">Resource Directories</option>
<option value="22">Rural Issues</option>
<option value="23">Solicitation Process</option>
<option value="24">Sub-Contracting</option>
<option value="25">Technical Assistance</option>
<option value="26">Technology/Internet</option>
<option value="27">Volunteers</option>
<option value="28">Working with Business</option>
<option value="29">Working with Cultural Groups</option>
<option value="30">Advertising</option>
</select>
</td>
</tr>
<tr>
<td><label for="skill2"># 2 Skill Area:</label>
</td>
<td><select name="skill2" visible="Yes" enabled="Yes" tooltip="State" width="285" tabindex="120" size="1" emsg="Select Skill Area 2" alt="selecti|0" onchange="ChangeDropDown(this);" >
<option value="0" selected="selected">Please Select</option>
<option value="1">Access</option>
<option value="2">Accountability - reporting; record keeping</option>
<option value="3">Barriers</option>
<option value="4">Capacity Building</option>
<option value="5">Contracting</option>
<option value="6">Eligibility - Registration</option>
<option value="7">Employability</option>
<option value="8">Funding</option>
<option value="9">Intermediaries</option>
<option value="10">Legal Issues</option>
<option value="11">Mapping</option>
<option value="12">Outreach</option>
<option value="13">Partnerships</option>
<option value="14">Partnerships - Financial</option>
<option value="15">Partnerships - Non-Financial</option>
<option value="16">Performance Standards</option>
<option value="17">Procurement</option>
<option value="18">Promising Practices</option>
<option value="19">Referral Process</option>
<option value="20">Relationship</option>
<option value="21">Resource Directories</option>
<option value="22">Rural Issues</option>
<option value="23">Solicitation Process</option>
<option value="24">Sub-Contracting</option>
<option value="25">Technical Assistance</option>
<option value="26">Technology/Internet</option>
<option value="27">Volunteers</option>
<option value="28">Working with Business</option>
<option value="29">Working with Cultural Groups</option>
<option value="30">Advertising</option>
</select>
</td>
</tr>
<tr>
<td><label for="skill3"># 3 Skill Area:</label>
</td>
<td><select name="skill3" visible="Yes" enabled="Yes" tooltip="State" width="285" tabindex="130" size="1" emsg="Select Skill Area 3" alt="selecti|0" onchange="ChangeDropDown(this);" >
<option value="0" selected="selected">Please Select</option>
<option value="1">Access</option>
<option value="2">Accountability - reporting; record keeping</option>
<option value="3">Barriers</option>
<option value="4">Capacity Building</option>
<option value="5">Contracting</option>
<option value="6">Eligibility - Registration</option>
<option value="7">Employability</option>
<option value="8">Funding</option>
<option value="9">Intermediaries</option>
<option value="10">Legal Issues</option>
<option value="11">Mapping</option>
<option value="12">Outreach</option>
<option value="13">Partnerships</option>
<option value="14">Partnerships - Financial</option>
<option value="15">Partnerships - Non-Financial</option>
<option value="16">Performance Standards</option>
<option value="17">Procurement</option>
<option value="18">Promising Practices</option>
<option value="19">Referral Process</option>
<option value="20">Relationship</option>
<option value="21">Resource Directories</option>
<option value="22">Rural Issues</option>
<option value="23">Solicitation Process</option>
<option value="24">Sub-Contracting</option>
<option value="25">Technical Assistance</option>
<option value="26">Technology/Internet</option>
<option value="27">Volunteers</option>
<option value="28">Working with Business</option>
<option value="29">Working with Cultural Groups</option>
<option value="30">Advertising</option>
</select>
</td>
</tr>
<tr>
<td><label for="skill4"># 4 Skill Area:</label>
</td>
<td><select name="skill4" visible="Yes" enabled="Yes" tooltip="State" width="285" tabindex="140" size="1" emsg="Select Skill Area 4" alt="selecti|0" onchange="ChangeDropDown(this);" >
<option value="0" selected="selected">Please Select</option>
<option value="1">Access</option>
<option value="2">Accountability - reporting; record keeping</option>
<option value="3">Barriers</option>
<option value="4">Capacity Building</option>
<option value="5">Contracting</option>
<option value="6">Eligibility - Registration</option>
<option value="7">Employability</option>
<option value="8">Funding</option>
<option value="9">Intermediaries</option>
<option value="10">Legal Issues</option>
<option value="11">Mapping</option>
<option value="12">Outreach</option>
<option value="13">Partnerships</option>
<option value="14">Partnerships - Financial</option>
<option value="15">Partnerships - Non-Financial</option>
<option value="16">Performance Standards</option>
<option value="17">Procurement</option>
<option value="18">Promising Practices</option>
<option value="19">Referral Process</option>
<option value="20">Relationship</option>
<option value="21">Resource Directories</option>
<option value="22">Rural Issues</option>
<option value="23">Solicitation Process</option>
<option value="24">Sub-Contracting</option>
<option value="25">Technical Assistance</option>
<option value="26">Technology/Internet</option>
<option value="27">Volunteers</option>
<option value="28">Working with Business</option>
<option value="29">Working with Cultural Groups</option>
<option value="30">Advertising</option>
</select>
</td>
</tr>
<tr>
<td><label for="skill5"># 5 Skill Area:</label>
</td>
<td><select name="skill5" visible="Yes" enabled="Yes" tooltip="State" width="285" tabindex="150" size="1" emsg="Select Skill Area 5" alt="selecti|0" onchange="ChangeDropDown(this);" >
<option value="0" selected="selected">Please Select</option>
<option value="1">Access</option>
<option value="2">Accountability - reporting; record keeping</option>
<option value="3">Barriers</option>
<option value="4">Capacity Building</option>
<option value="5">Contracting</option>
<option value="6">Eligibility - Registration</option>
<option value="7">Employability</option>
<option value="8">Funding</option>
<option value="9">Intermediaries</option>
<option value="10">Legal Issues</option>
<option value="11">Mapping</option>
<option value="12">Outreach</option>
<option value="13">Partnerships</option>
<option value="14">Partnerships - Financial</option>
<option value="15">Partnerships - Non-Financial</option>
<option value="16">Performance Standards</option>
<option value="17">Procurement</option>
<option value="18">Promising Practices</option>
<option value="19">Referral Process</option>
<option value="20">Relationship</option>
<option value="21">Resource Directories</option>
<option value="22">Rural Issues</option>
<option value="23">Solicitation Process</option>
<option value="24">Sub-Contracting</option>
<option value="25">Technical Assistance</option>
<option value="26">Technology/Internet</option>
<option value="27">Volunteers</option>
<option value="28">Working with Business</option>
<option value="29">Working with Cultural Groups</option>
<option value="30">Advertising</option>
</select>
</td>
</tr>
<input name="Submitted" id="Submitted" type="hidden" value="1" />
<input name="Circuit" id="Circuit" type="hidden" value="PeerContact" />
<input name="fuseaction" id="fuseaction" type="hidden" value="PeerContact2Add" />
<input name="Edit" id="Edit" type="hidden" value="False" />
<input name="OrgID" id="OrgID" type="hidden" value="8" />
<input name="PrevQuerySting" id="PrevQuerySting" type="hidden" value="/cfbci-tlc/admin/index.cfm?" />
<tr>
<td colspan="2"><BR />
<BR />
<table width="60%" border="0" cellspacing="1" cellpadding="1" align="center">
<tr align="center">
<td width="33.3%">&nbsp;
<input name="Previous" id="Previous" type="button" value="Previous" visible="Yes" enabled="Yes" tooltip="Previous" tabindex="200" onclick="javascript:window.location.href=' /></td>
<td width="33.3%">&nbsp;
<input name="Cancel" id="Cancel" type="button" value="Cancel" visible="Yes" enabled="Yes" tooltip="Cancel" tabindex="210" onclick="javascript:window.location.href='main.cfm';" /></td>
<td width="33.3%">&nbsp;
<input name="Next" id="Next" type="submit" value="Next" enabled="Yes" tabindex="220" visible="Yes" tooltip="Next" /></td>
</tr>
</table>
<br />
<br />
</td>
</tr>
</table>
<input type='hidden' name='org_name_CFFORMREQUIRED' value='Enter Organization Name.'>
<input type='hidden' name='Last_name_CFFORMREQUIRED' value=': Enter a Last Name.'>
<input type='hidden' name='First_name_CFFORMREQUIRED' value='Enter a First Name.'>
<input type='hidden' name='Zip5_CFFORMZIPCODE' value='Enter valid Zip Code.'>
<input type='hidden' name='Zip4_CFFORMINTEGER' value='Enter Zip Code.'>
<input type='hidden' name='Phone_CFFORMTELEPHONE' value='Enter a valid Phone Number.'>
<input type='hidden' name='Ext_CFFORMINTEGER' value='Enter Phone Extension entry.'>
<input type='hidden' name='email_CFFORMEMAIL' value='Enter a valid E-mail Address.'>
<input type='hidden' name='contact_method_CFFORMREQUIRED' value='Select a Preferred Contact Method.'>
<input type='hidden' name='contact_method_CFFORMREQUIRED' value='Select a Preferred Contact Method.'>
<input type='hidden' name='contact_method_CFFORMREQUIRED' value='Select a Preferred Contact Method.'>
<input type='hidden' name='contact_method_CFFORMREQUIRED' value='Select a Preferred Contact Method.'>
</form>
<script>
runBoth();
//window.location.reload( false );
</script>
</td>
</tr>
</table>
</td>
</td>
</td>
</th>
</th>
</th>
</tr>
</tr>
</tr>
</table>
</table>
</table>
</a></abbrev></acronym>
</address>
</applet>
</au></b></banner></big></blink>
</blockquote>
</bq>
</caption>
</center>
</cite></code>
</comment>
</del></dfn></dir>
</div>
</div>
</dl>
</em></fig></fn></font>
</form>
</frame>
</frameset>
</h1>
</h2>
</h3>
</h4>
</h5>
</h6>
</head>
</i></ins></kbd>
</listing>
</map>
</marquee>
</menu>
</multicol>
</nobr>
</noframes>
</noscript>
</note>
</ol>
</p>
</param>
</person>
</plaintext>
</pre>
</q></s></samp>
</script>
</select>
</small></strike></strong></sub></sup>
</table>
</td>
</textarea>
</th>
</title>
</tr>
</tt></u>
</ul>
</var></wbr>
</xmp>

</body>
</html>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top