Zebra_Form
Zebra_Form copied to clipboard
Custom error template
Hi!
I'm trying to render custom error template for each field but this error block template is hardcoded:
$this->errors[$error_block] = '<div class="error"><div class="container">' . $content . '<div class="close"><a href="javascript:void(0)">close</a></div></div></div>';
It's a nice functionality and I really think is needed for this library to be more amazing 👍 .
I can't found anything in docs but if there is something about it please let me know.
Thanks!
This is something I am working on but I cannot give you a time estimate for when it will be ready. But it's going to be next year :)
Perfect! thanks for the answer
Hi Stefan,
Have you updated the library to add custom error?
Thanks