evaluator as control-param in field tag

cancel
Showing results for 
Search instead for 
Did you mean: 
alfresco_lover
Active Member

evaluator as control-param in field tag

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
mitpatoliya
Moderator
Moderator

Re: evaluator as control-param in field tag

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.