I’m using phpmaker 2023 and have the following code in FormCustomValidate which displays the error message correctly:
$this->option->addErrorMessage("You have already chosen this option for this team.");
But clears all the input fields when using InlineAdd or InlineCopy.