- Affected version
- 2.1.9
In 
	
	
	
		
The field title is there, just a horrible error message.
				
			XF\CustomField\Set::set; the isValid reports the failed custom field. But if the field is required and doesn't trip the validation check, then a generic "Please enter a value for all required fields." is reported without actually reporting the required field(s).
		PHP:
	
	$valid = $field->isValid($value, $error, $existingValue);
if (!$valid)
{
   if (!$ignoreInvalid)
   {
      $this->entity->error("{$field->title}: $error", "custom_field_$fieldId");
   }
   return false;
}
if ($field->isRequired($editMode) && ($value === '' || $value === []))
{
   if (!$ignoreInvalid)
   {
      $this->entity->error(\XF::phraseDeferred('please_enter_value_for_all_required_fields'), "custom_field_$fieldId");
   }
   return false;
}The field title is there, just a horrible error message.
 
 
		 
 
		 
 
		 
 
		