could anyone support me with the following requirement?
in model-driven app, I need to add a validation on a field (account) to make sure that it's not duplicated for the same selected value for other field (bank)
lets say we have bank A and bank B, I selected bank A and in account field I choose ACCOUNT-A, the app must get all the records on this table that has bank value A and check if any of these record has account value as ACCOUNT-A, if there's no match then same, else show error message
I've found JS code to make the first part duplicate account prevention descripted in this link,
but i cant add the other bank validation, could you please help me on this?