1) { s = s.substr(1); } var numPart; if (vldt_regExp_num.test(s)) { if (boolPosOnly) { if (negRet[0]) { returnVal[0] += 'The item "' + returnVal[1] + '" is not a valid positive integer. Please enter a positive whole number.\n\n'; return returnVal; } } numPart = vldt_regExp_num.exec(s); if (negRet[0]) { numPart[0] = '-' + numPart[0]; } if (parseInt(numPart[0]) > 2147483648) { returnVal[0] += 'The item "' + returnVal[1] + '" must be an integer less than ' + validator_num_MaxInt + '.\n'; } if (parseInt(numPart[0]) < parseInt('-2147483648')) { returnVal[0] += 'The item "' + returnVal[1] + '" must be an integer greater than ' + validator_num_MinInt + '.\n'; } } else { if (boolPosOnly) { returnVal[0] += 'The item "' + returnVal[1] + '" is not a valid positive integer. Please enter a positive whole number.\n\n'; } else { returnVal[0] += 'The item "' + returnVal[1] + '" is not a valid integer. Please enter a whole number.\n\n'; } } return returnVal; } function alertErrMsg(msg) { var commonMsg = 'The following errors occurred:\n___________________________________________________\n\n'; alert(commonMsg + msg); } function containsExp(strVal, Exp, bTrim) { if (bTrim) { strVal = stripWhitespace(strVal, 1); strVal = stripWhitespace(strVal, 2); } if (strVal.match(Exp) == null) { return false; } else { return true; } } function isNegative(s) { var returnVal = new Array(1); returnVal[0] = false; returnVal[1] = s; s = stripWhitespace(s,3); s = stripCharsInBag(s,validator_num_GroupingSym); if (isWhitespace(s)) { return returnVal; } if (s.charAt(0) == '-') { returnVal[0] = true; if (s.length > 1) { s = s.substr(1, s.length-1); } else { s = ''; } } else if (s.charAt(s.length-1) == '-') { returnVal[0] = true; if (s.length > 1) { s = s.substr(0, s.length-1); } else { s = ''; } } else if (s.charAt(0) == '(' && s.charAt(s.length-1) == ')') { returnVal[0] = true; if (s.length > 2) { s = s.substr(1, s.length-1); s = s.substr(0, s.length-1); } else { s = ''; } } returnVal[1] = s; return returnVal; } function checkItemRequiredLength(itemArray,minLength,labelName) { var errorstring = ''; var boolFoundText = false; for (var x = 0; x < itemArray.length; x++) { if (itemArray[x].length > 0) { boolFoundText = true; if ( itemArray[x].length < minLength ) { errorstring += labelName + ': The item "' + itemArray[x] + '" must be at least ' + minLength + ' characters long.\n\n' } } } if (! boolFoundText) { if (minLength > 1) { errorstring += labelName + ': This field must be at least ' + minLength + ' characters long.\n\n' } else { errorstring += labelName + ': This field cannot be empty.\n\n' } } return errorstring; } function validateKeyIn(labelName, fieldElement, valCardinal, maxLen, dataType, minLength, max_digs_left, max_digs_right, str_usage, delim){ labelName = HTMLDecode(labelName); var itemArray = new Array(); var errorstring = ''; if (valCardinal == 'MNY') { var itemLen = parseItemsToArray(fieldElement.value,itemArray); } else { var itemLen = 0; itemArray[0] = fieldElement.value; } if (maxLen == 0) { maxLen = 80000; } if ((itemLen >= 0)) { stripLeadingAndTrailingSpaces(itemArray); if ((dataType != 1) && (maxLen > 255)) { maxLen = 255; } if (minLength > 0) { errorstring += checkItemRequiredLength(itemArray,minLength,labelName); } errorstring += checkItemLength(itemArray,maxLen,labelName); errorstring += checkItemForDataType(itemArray,dataType,max_digs_left,max_digs_right,str_usage,labelName); errorstring += checkForDupe(itemArray,fieldElement,labelName); if ((maxLen > 0) && (maxLen < 2000)) { // don't allow pipes for non-note fields errorstring += checkForDelim(itemArray,'|',labelName, false); } errorstring += checkForDelim(itemArray,delim,labelName, true); } var sortedOutput = itemArrayToVariable(itemArray); fieldElement.value = sortedOutput; return errorstring; } function validatePicklist(fieldLabel, formElement, valCardinal, isRequired, isCDF) { var listElement; var returnString = ''; if (valCardinal == 'MNY') { var elementListLength = formElement.length; for (var x = 0; x < elementListLength; x++) { listElement = formElement.options[x]; if (listElement.selected == true) { if ((listElement.value == '') || ((listElement.value == -1) && (! isCDF))) { listElement.selected = false; } } } if (isRequired > 0) { if (formElement.selectedIndex == -1) { returnString = HTMLDecode(fieldLabel) + ': You must select at least one item from this list.\n\n'; } } } else { if (isRequired > 0) { if ((formElement.selectedIndex == -1) || isWhitespace(formElement.options[formElement.selectedIndex].value) || ((formElement.options[formElement.selectedIndex].value == -1) && (! isCDF))) { returnString = HTMLDecode(fieldLabel) + ': You must select an item from this list.\n\n'; } } } return returnString; } function HTMLDecode(strValue) { var MyString = new String (strValue) MyString = MyString.replace(/</g,'<'); MyString = MyString.replace(/>/g,'>'); MyString = MyString.replace(/"/g,'"'); MyString = MyString.replace(/&/g,'&'); return MyString; }
Contact Information: Only available in the United States
First Name:
Last Name:
Phone:
Email: Please verify this address is correct!
Shipping Information:
Please ship to a business address or the facility you teach at.
Ship To Site Name (We can no longer ship to residential addresses):
Commercial or Residential Address:
Address:
UPS cannot ship to PO Boxes:
City:
State:
Zip:
Instructor Information
Facility Name (where you currently instruct):
Facility Phone (where you currently instruct):
Are you an active YogaFit, Yoga and/or Pilates instructor?:
Total number of YogaFit, Yoga and Pilates students?:
How did you hear about the YogaFit Gift Packs?:
I have read and agree to the terms to receive and distribute the free YogaFit Gift Packs:
*Note: Please click this link to review Frequently Asked Questions about this program, including how to calculate your class size.
Home :: About Us :: NSI Profiles :: NSI Programs :: Payback Analysis :: Market Research :: Client List :: Contact NSI
Home
About Us
NSI Profiles
NSI Programs
Market Research
Payback Analysis
Contact NSI
if you get this message email them at
yogafit@nichesampling.com ty