Advertisement
Advertisement
| 10.13.2008 at 04:10PM PDT, ID: 23811236 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68: 69: 70: 71: 72: 73: 74: 75: 76: 77: 78: 79: 80: 81: 82: 83: 84: 85: 86: 87: 88: 89: 90: 91: 92: 93: 94: 95: 96: 97: 98: 99: 100: 101: 102: 103: 104: 105: 106: 107: 108: 109: 110: 111: 112: 113: 114: 115: 116: 117: 118: 119: 120: 121: 122: 123: 124: 125: 126: 127: 128: 129: 130: 131: 132: 133: 134: 135: 136: 137: 138: 139: 140: 141: 142: 143: 144: 145: 146: 147: 148: 149: 150: 151: 152: 153: 154: 155: 156: 157: 158: 159: 160: 161: 162: 163: 164: 165: 166: 167: 168: 169: 170: 171: 172: 173: 174: 175: 176: 177: 178: 179: 180: 181: 182: 183: 184: 185: 186: 187: 188: 189: 190: 191: 192: 193: 194: 195: 196: 197: 198: 199: 200: 201: 202: 203: 204: 205: 206: 207: 208: 209: 210: 211: 212: 213: 214: 215: 216: 217: 218: 219: 220: 221: 222: 223: 224: 225: 226: 227: 228: 229: 230: 231: 232: 233: 234: 235: 236: 237: 238: |
////JAVA SCRIPT FROM COMMAND BUTTON
var f = document.forms[0]
if (f.DueDate.value == "")
{
alert ("Requested Due Date is a Required Field. You must enter a Requested Due Date in the MM/DD/YYY format.");
f.DueDate.focus();
return false;
}
if (f.RequestorName.value == "")
{
alert ("Submitter Name is a Required Field.");
f.RequestorName.focus();
return false;
}
if (f.RequestorPosition.value == "")
{
alert ("Submitter Title is a Required Field.");
f.RequestorPosition.focus();
return false;
}
if (f.RequestorPhone.value == "")
{
alert ("Submitter Office Phone is a Required Field.");
f.RequestorPhone.focus();
return false;
}
if (f.RequestorCell.value == "")
{
alert ("Submitter Cell Phone is a Required Field. If you do not use your cell phone during work hours, please enter N/A.");
f.RequestorCell.focus();
return false;
}
if (f.RequestorVM.value == "")
{
alert ("Submitter VM is a Required Field. Click.");
f.RequestorVM.focus();
return false;
}
if (f.RequestorEmail.value == "")
{
alert ("Requestor Email is a Required Field.");
f.RequestorEmail.focus();
return false;
}
if (f.SellerName.value == "")
{
alert ("Account Manager Name is a Required Field.");
f.SellerName.focus();
return false;
}
if (f.SellerOfficeNo.value == "")
{
alert ("AM Office Phone is a Required Field.");
f.SellerOfficeNo.focus();
return false;
}
if (f.SellerCellNo.value == "")
{
alert ("AM Cell Phone is a Required Field.");
f.SellerCellNo.focus();
return false;
}
if (f.SellerVM.value == "")
{
alert ("AM Voice Mail Number is a Required Field.");
f.SellerVM.focus();
return false;
}
if (f.AcctClass.options.selectedIndex==0 )
{
alert ("AcctClass is a Required Field. You must enter the Account Classification.");
f.AcctClass.focus();
return;
}
if (f.DSM.value == "")
{
alert ("DSM is a Required Field.");
f.DSM.focus();
return false;
}
if (f.RSVP.value == "")
{
alert ("RSVP is a Required Field.");
f.RSVP.focus();
return false;
}
// Commented out validation per Eric Baelum - 7/18/07 AZ
//radiochk = false;
//for ( n = 0; n < f.Onsite.length; n++ ) {
// Isolate the n'th radio button
//el = f.Onsite[n];
// See if it was selected
//radiochk = radiochk || el.checked;
//if ( (el.value == "On-Site" | el.value == "EZ Crib") && el.checked ) {
//if(CLM.value==""){
//alert("Because this is an On-Site request, you are required to enter the CLM Name.");
//f.CLM.focus();
//return false;
//}
//}
//}
//radiochk = false;
//for ( n = 0; n < f.Onsite.length; n++ ) {
// Isolate the n'th radio button
//el = f.Onsite[n];
// See if it was selected
//radiochk = radiochk || el.checked;
//if (( el.value == "On-Site" | el.value == "EZ Crib") && el.checked ) {
//if(TransNumber.value==""){
//alert("Because this is an On-Site request, you are required to enter a Pipeline Transaction number.");
//f.TransNumber.focus();
//return false;
//}
//}
//}
if (f.CustName.value == "")
{
alert ("Customer Name is a Required Field.");
f.CustName.focus();
return false;
}
if (f.AcctNum.value == "")
{
alert ("Customer Account Number is a Required Field.");
f.AcctNum.focus();
return false;
}
if (f.NumItems.value == "")
{
alert ("Number of Items to be crossed is a Required Field.");
f.NumItems.focus();
return false;
}
radio = document.forms[0].Pricing;
for (i = 0; i < radio.length; i++) {
if(radio[i].checked) {
checked = true;
break;
}
}
if(!checked) {
alert ("The Account Level Pricing Needed is a Required Field.");
document.forms[0].Pricing[0].focus();
return false;
}
checked = false;
radio = document.forms[0].Onsite;
for (i = 0; i < radio.length; i++) {
if(radio[i].checked) {
checked = true;
break;
}
}
if(!checked) {
alert ("You must specify if the resources requested are on-site or off-site.");
document.forms[0].Onsite[0].focus();
return false;
}
checked = false;
radio = document.forms[0].ProjectSize;
for (i = 0; i < radio.length; i++) {
if(radio[i].checked) {
checked = true;
break;
}
}
if(!checked) {
alert ("You must specify the Project Size.");
document.forms[0].ProjectSize[0].focus();
return false;
}
checked = false;
radio = document.forms[0].FileFormat;
for (i = 0; i < radio.length; i++) {
if(radio[i].checked) {
checked = true;
break;
}
}
if(!checked) {
alert("You must specify the file format.");
document.forms[0].FileFormat[0].focus();
return false;
}
checked = false;
f.submit()
///// FORMULA FROM 2 ND COMMAND BUTTON : need variable to hold the value created instead of
displaying on the form...so (@SetField("CTrackingNumber") is now a variable
@Command([FileSave]);
(@SetField("CTrackingNumber";
"P-" +
@Middle(@Text(DateCreated);0;1)+@Middle(@Text(DateCreated);1;1)+@Middle(@Text(DateCreated);3;1)+@Middle(@Text(DateCreated);4;1)+@Middle (@Text(DateCreated);6;1)+@Middle(@Text(DateCreated);7;1)+@Middle (@Text(DateCreated);8;1)+@Middle(@Text(DateCreated);9;1)+ "-" + @Text(TrackingNumber)));
@MailSend(RequestorEmail;"";"";"CRS Request Form Received For " + CustName;"";"Cross Referencing Services has received and is processing the request form submitted for " + CustName +".";"");
@Command([ViewRefreshFields]);
@Command([FileSave])
|