"nm" here is representing my input field name. All my field names have an extra 3 characters (like 'txt') at the begining. Can I somehow add something to this line of code and have those preceding first 3 letters removed from nm in the below line of code?
errors+='- '+nm+' must contain an e-mail address.\n';
Thank you so much.