//VerifyForm messages v1.4 (English).

//Global variables - (do not edit).
VFh = "<p class='TextHeadline'>", VFb = "<span class='TextBold'>", VFf = "<p class='TextFooter'>", VFs = "</span>", VFp = "</p>";

//................................................ edit the quoted text below ...........................................
//Window chrome for the Error Window.
function VFWindowChrome() {return ",toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no";}

//One submission only Allert.
function VFmessSubmit(){alert("You have already clicked the Submit button.\nPlease refresh or reload this page to submit again.");}

//Bad Form name Alert.
function VFmessFormName() {alert("The Form Name used in VerifyForm and the one on your page must match (with NO spaces in the name)!");}

//Bad Field name Alert.
function VFmessFieldName(action, i) {alert("'" + action[i] + "' does not match the Field Name used in your Form.");}
//.....................................................................................
//Error message window title.
function VFmessTitle() {return "VerifyForm Errors!";}

//Back text for error messages displayed in the same window.
function VFmessBack() {return VFb + "Return to the Form" + VFs;}

//Close window text for error messages displayed in a new window.
function VFmessClose() {return VFb + "Close this window" + VFs;}
//.....................................................................................
//Error notice heading.
function VFmessErrorsFound() {return VFh + "Errors were found in your submission!" + VFp;}

//Blank form message.
function VFmessBlank() {return "You have not entered any information. This form will not be sent.";}

//An entry is required message.
function VFmessRequired(action, i){return "Something must be entered in the " + VFb + action[i+1] + VFs + " field.<br>";}

//Please contact us message.
function VFmessContact1() {return VFf + "Please return to the order form page and check your entries, <br>then submit the form again." + VFp;}
function VFmessContact2() {return VFf + "If you continue having problems, please call (800) 882-6705." + VFp;}
//.....................................................................................
//Field function messages.
//Verify that a second field has also been filled.
function VFmess1(action, secField, i) {return "The " + VFb + action[i+1] + VFs + " and <span class='bodyBold'>" + secField + " </span>fields must both be filled in.<br>";}
//Verify that this field contains letters only.
function VFmess2(action, i) {return "Only letters are allowed in the " + VFb + action[i+1] + VFs + " field.<br>";}
//Verify that this field contains numbers only.
function VFmess3(action, i) {return "Only numbers & spaces are allowed in the " + VFb + action[i+1] + VFs + " field.<br>";}
//Verify that this field contains exact number of characters.
function VFmess4(action, i) {return "The " + VFb + action[i+1] + VFs + " field must have exactly " + action[i+3] + " characters.<br>";}
//Verify maximum number of characters.
function VFmess5(action, i) {return "The " + VFb + action[i+1] + VFs + " field must have no more than " + action[i+3] + " characters.<br>";}
//Verify maximum number of words.
function VFmess6(action, i) {return "The " + VFb + action[i+1] + VFs + " field must have no more than " + action[i+3] + " words.<br>";}
//Verify minimum number of characters.
function VFmess7(action, i) {return "The " + VFb + action[i+1] + VFs + " field must have at least " + action[i+3] + " characters.<br>";}
//Verify minimum number of words.
function VFmess8(action, i) {return "The " + VFb + action[i+1] + VFs + " field must have at least " + action[i+3] + " words.<br>";}
//Verify that this field is an exact match of another field (Password).
function VFmess9(action, i) {return "Your " + VFb + "Password" + VFs + " and " + VFb + "Verification" + VFs + " are different. Enter them again.<br>";}
//Verify that this field is an exact match in the qualifying value field.
function VFmess10(action, i) {return "Your entry in the " + VFb + action[i+1] + VFs + " field is not correct.<br>";}
//Verify that the qualifying field is found somewhere in the this entry.
function VFmess11(action, i) {return "Your entry in the " + VFb + action[i+1] + VFs + " field is not correct.<br>";}
//Verify that a value in the external list is found somewhere in the this entry.
function VFmess12(action, i) {return "Your entry in the " + VFb + action[i+1] + VFs + " field is not correct.<br>";}
//Error in First AND Last name.
function VFmess14(action, i) {return "Enter your " + VFb + "First & Last Name" + VFs + " in the " + VFb + action[i+1] + VFs + " field.<br>";}
//Formatting error in E-mail format.
function VFmess15(action, i) {return "The " + VFb + "E-mail address" + VFs + " in the " + VFb + action[i+1] + VFs + " field is not properly formatted.<br>";}
//Formatting error in URL format.
function VFmess16(action, i) {return "The " + VFb + "URL address" + VFs + " in the " + VFb + action[i+1] + VFs + " field is not properly formatted.<br>";}

//Numeric error.
function VFmess2125(action, i) {return "The " + VFb + "Number" + VFs + " entered in the " + VFb + action[i+1] + VFs + " field is not correct.<br>";}

//Selection error.
function VFmess2126(action, i) {return "A " + VFb + "Selection" + VFs + " must be made in the " + VFb + action[i+1] + VFs + " Selection list.<br>";}

//Formatting error in credit card number, phone number, date.
function VFmessFormating(action, i) {return "Your entry in the " + VFb + action[i+1] + VFs + " field has not been properly entered.<br>";}

//Profanity message.
function VFmessProfan(action, fieldDescr) {return "You have entered inappropriate information in the " + VFb + fieldDescr + VFs + " field.<br>";}
