Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi I am having a problem with the "validator_msg" using the DataBound. Even if I put a personalized message, still appearing to standard error message.

The following code:

Code: Select all
<cms:input class="span2" placeholder="Data" type="bound" name="data" id="data" validator_msg='required=Custom message.'/>


I made a workaround for now, to work.

Code: Select all
<cms:if k_error >
   <strong>Erro:</strong>
   <cms:each k_error >
      <cms:if item ne '<b>Data:</b> Campo requerido n&atilde;o pode ser deixado vazio'>
         <br><cms:show item />
      </cms:if>
   </cms:each>
                                
   <cms:if k_error_data ><br><b>Data:</b>Custom message.</cms:if>
</cms:if>

Thank you
Hi Rafael,

Databound inputs take their parameters from the editable region they are bound to.

Please try placing the message in the <cms:editable.. code you've used to define the real editable region (don't forget to refresh the template as super-admin).

Hope this helps.
Thanks KK, worked perfectly :)
3 posts Page 1 of 1