//VerifyForm messages v1.0 - English.

//Error notice heading.
function VFmessErrorsFound() {return "<p><b>Errors were found in your submission!</b></p>";}

//Bad Form name message.
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 message.
function VFmessFieldName(action, i) {alert("'" + action[i] + "' does not match the Field Name used in your Form.");}

//An entry is required message.
function VFmessRequired(action, i){return "Something must be entered in the <b>" + action[i+1] + "</b> field.<br>";}

//Blank form message.
function VFmessBlank() {return "You have not entered any information. This form will not be sent.<br>";}

//Please contact us message.
function VFmessContact1() {return "<p><b>Please return to the order form page and check your entries, <br>then submit the form again.</b></p>";}
function VFmessContact2() {return "<p>If you continue having problems, call the number at the bottom of our web page.</p>";}

//One submission only message.
function VFmessSubmit(){alert("You have already clicked the Submit button.\nPlease refresh or reload this page to submit again.");}

//Field function messages.
//Verify that a second field has also been filled.
function VFmess1(action, secField, i) {return "The <b>" + action[i+1] + "</b> and <b>" + secField + " </b>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 <b>" + action[i+1] + "</b> field.<br>";}
//Verify that this field contains numbers only.
function VFmess3(action, i) {return "Only numbers & spaces are allowed in the <b>" + action[i+1] + "</b> field.<br>";}
//Verify that this field contains exact number of characters.
function VFmess4(action, i) {return "The <b>" + action[i+1] + "</b> field must have exactly " + action[i+3] + " characters.<br>";}
//Verify maximum number of characters.
function VFmess5(action, i) {return "The <b>" + action[i+1] + "</b> field must have no more than " + action[i+3] + " characters.<br>";}
//Verify maximum number of words.
function VFmess6(action, i) {return "The <b>" + action[i+1] + "</b> field must have no more than " + action[i+3] + " words.<br>";}
//Verify minimum number of characters.
function VFmess7(action, i) {return "The <b>" + action[i+1] + "</b> field must have at least " + action[i+3] + " characters.<br>";}
//Verify minimum number of words.
function VFmess8(action, i) {return "The <b>" + action[i+1] + "</b> 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 <b>Password</b> and <b>Verification</b> are different. Please 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 <b>" + action[i+1] + "</b> 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 <b>" + action[i+1] + "</b> 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 <b>" + action[i+1] + "</b> field is not correct.<br>";}
//Error in First AND Last name.
function VFmess14(action, i) {return "Please enter your <b>First & Last Name</b> in the <b>" + action[i+1] + "</b> field.<br>";}
//Formatting error in E-mail format.
function VFmess15(action, i) {return "The <b>E-mail address</b> in the <b>" + action[i+1] + "</b> field is not properly formatted.<br>";}

//Formatting error in credit card number, phone number, date.
function VFmessFormating(action, i) {return "Your entry in the <b>" + action[i+1] + "</b> field has not been properly entered.<br>";}

//Profanity message.
function VFmessProfan(action, fieldDescr) {return "You have entered inappropriate information in the <b>" + fieldDescr + " </b>field.<br>";}

