includes/modules/YOURTEMPLATE/create_account.php
line 40 contains:```php
if (ACCOUNT_COMPANY == 'true') $company = zen_db_prepare_input($_POST['company']);
change that one line to these several lines:```php
if (ACCOUNT_COMPANY == 'true') {
$company = zen_db_prepare_input($_POST['company']);
if (strlen($company) < 4) {
$error = true;
$messageStack->add('create_account', ENTRY_COMPANY_NAME_ERROR);
}
}
And add a definition for your error message to your
includes/languages/YOURTEMPLATE/english.php :
define('ENTRY_COMPANY_NAME_ERROR', 'Please enter a company name.');
Note: the example test above checks that the company name entered is at least 4 characters long.