cancel
Showing results for 
Search instead for 
Did you mean: 

evaluator as control-param in field tag

alfresco_lover
Champ on-the-rise
Champ on-the-rise

Hi Everybody,

I would like to ask if it is possible to check value of textfiel using evaluator.

In share config custom I have this field defined:

<field id="mlcm:firma_nazev" mandatory="true" label-id="prop.mlcm_firma_nazev">
   <control template="/cz/signia/components/form/controls/firmaAutocomplete.ftl">
	<control-param name="webscript">/mlensky/firmy</control-param>					
   </control>
</field>

I would like to add evaluator for type something like this :

<control-param name="evaluator">evaluator.doclib.action.isFirma</control-param>  

Is it possible? What i the right way to do it? Thanks 

1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator

Evaluators cannot be used at the field level. They are used for actions and modules.

You could probably include the related logic in the field ftl itself.