Localised validation error messages for forms

My example uses pure HTML for the error message. In your case I would try placing the dmx-bind: thingy in front of the data- attribute and the variable as the text as in

dmx-bind:data-msg-minlength="{{errorMsg}}"

Edit: See List of all the dmx functions

2 Likes