function validateSameas($sValue, \Formal\Form\Morphology $oMorpho, \Formal\Element $oElement, $sReferencePropName)
{
$sReferenceValue = $oMorpho->element($sReferencePropName)->value();
if ($sValue === $sReferenceValue) {
return true;
}
return "<strong>" . $oElement->option("label") . "</strong> does not match " . $oMorpho->element($sReferencePropName)->option("label") . ".";
}