[RSS Feed/News] Required form element error message via phrase

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
So I've an entity set up like this:

PHP:

Code:
$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

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom