Forums

Validation message in PHP code

flashfs 25 Aug, 2017
On v5, when working with custom PHP validation on Submit action, we could populate the array $form->validation_errors['fieldname'] and set an event loader. Is there this kind of array on v6?
Max_admin 25 Aug, 2017
Answer
Hi flashfs,

Please try this:
$this->errors[] = "new error";


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount

{item:title} {images:#}