Copy link to clipboard
Copied
I currently have this script running :
var patternEmpty = /^\s*$/;
var strMissing = "";
if(patternEmpty.test(this.getField("1st
purchaser").value))
strMissing =
"1st purchaser";
{ // All is ok,
submit the data
}
if(strMissing.length)
{// Got an error
}
NEED this
var cToAddr =
" Pcardreceipts@ifas.ufl.edu";
var cCCAddr =
this.getField("Email").value;
var cSubLine = " P-CARD FORM SUBMITTED FOR PROCESSING";
I want to merge script below into the above script or should it be written as one script and if any recommendations would be appreciated....?
var cToAddr =
" Pcardreceipts@ifas.ufl.edu";
var cCCAddr =
this.getField("Email").value;
var cSubLine = " P-CARD FORM SUBMITTED FOR PROCESSING";
var cBody = " Thank you for funding this purchase.\n" + "We Appreciate your support";
I'll give you a hint: JavaScript is case-sensitive...
Copy link to clipboard
Copied
I don't see any difference.
Copy link to clipboard
Copied
P and p is not the same.
Copy link to clipboard
Copied
I'll give you a hint: JavaScript is case-sensitive...
Copy link to clipboard
Copied
I am beginning to figure that out as well..... arrrrgh
Copy link to clipboard
Copied
Thank You all that replied and for pointing out my blindness (jk) I really appreciate your assistance..... it is now working as desired.