code: protected void updateModelValidationStatus(String modelId, CmsValidationResult result) {
  
          Collection<I_CmsFormField> fields = getFieldsByModelId(modelId);
          for (I_CmsFormField field : fields) {
              updateFieldValidationStatus(field, result);
          }
  
      }
docs: Updates the model validation status.<p>
  
  @param modelId the model id
  @param result the validation result