formbuilder icon indicating copy to clipboard operation
formbuilder copied to clipboard

Error in error message from validateLength in Control class

Open flasica222 opened this issue 11 years ago • 0 comments

Actual behavior:

  • If the criterias are not met for minlength or maxlength an error is thrown with a message error defined in Element.php
  • The error thrown is: Unknown variable '$' in error messge.
  • The message is: "Please use at least {@minlength} characters for this text (you are currently using {$length'} characters)"

Expected behavior:

  • No error should be given when displaying the error message.

Description:

  1. Create a Textarea
  2. Use validation for minlength/maxlength but don't respect the condition imposed by the validation

flasica222 avatar Mar 01 '14 22:03 flasica222