The Email field must contain a unique value

I see that popup in the tool tip, and it can be confusion

2023-08-02

Only knowing the same Email address is in the system, I know it is not accepting an email address already being used.

I think the tool tip should be changed to something else like “Email already in use.”

I am not seeing the statement in the code. Perhaps is in the database?

Can we get that changed?

Hello @KNERD
Thank you for your feedback. We will look into it.

Where is the text located?

We use the common validation rule and function “is_unique” for the entire project to validate the unique value.

You can change the text from here: https://github.com/iNextrix/ASTPP/blob/3feb490c00c61769e500005e51ffe8f03b377e2a/web_interface/astpp/system/language/English/form_validation_lang.php#L23

But that will reflect in other modules as well.

So basically you will need to create a custom function for email validation and handle the message from there.