For example, for the field called "Group Code", if the user enters:
ABC123D, this is OK.
ABC123U should fail and give them an error message because the letter U is in the 7th place of the group code they entered.
I have tried doing this as a Validation rule, but my formula isn't working. I'm thinking RegEx is my answer, but I don't fully know the format for this.
2 respostas
Hi Jooly,
You could use the MID function for this. Maybe:
UPPER(MID(Group_Code__c, 7, 1)) = "U"