im using PHPMaker 2026.7
Hello, im trying to validate my email field,
choosing “Email” in Edit tag > Text > Validation > Validate .
but i am getting the following errors when trying to submit
”Attempted to call undefined function "Email" from namespace”
”**Symfony\Component\ErrorHandler\Error\UndefinedFunctionError”
”** if (!Email($this->EMAIL->FormValue)) { $this->EMAIL->addErrorMessage($this->EMAIL->getErrorMessage(false)); }”
i notice the code above was added in my model/edit file , when compare to my older projects, the codes wasn’t there in my older project.
so i went to my pmp file to check the issue meanwhile comparing older projects to my current, here is what i found
the older project had the following, FldValidate="EMAIL"
meanwhile my current project had the following instead, FldValidate="Email"
and by changing my current project’s pmp file to the following, the issue is resolve. FldValidate=”EMAIL”