Required form element error message via phrase

So I've an entity set up like this:

PHP:

Код:
$structure->columns = [
    'sys_id' => ['type' => self::UINT, 'autoIncrement' => true],
    'title' => ['type' => self::STR, 'maxLength' => 40, 'required' => 'asp_fb_req_title'],
    'catg' => ['type' => self::STR, 'required' => 'asp_fb_req_catg', 'allowedValues' => array_keys($validCategories)],             
];

To test it, I keep both the fields empty and hit the submit button. I get the following output:

1675574995702.png

A couple of things are...

Read more

Читать далее...
 
Активность
Пока что здесь никого нет
Назад
Верх Низ