I need to complete the code below so that if the first 3 characters of "formObj.medRefNo.value" are not "ABC" then the alert is called. Any ideas?
var val = formObj.medRefNo.value
if (code needed here!)
alert('You have entered an invalid medical reference number please call our customer services department on XXXXXXXXXX');