-
- 47 Posts
I want to show an errormessage WITH the applicable field(s).
&validationErrorMessage=`<div class="span5 alert alert-error"><p>Some generic errormessage:</p><ul>[[+errors]]</ul></div>`
&validationErrorBulkTpl=`<li>[[+error]]</li>`
I have to show which error belongs to which field otherwise these messages are useless. I don't want the inline messages near its input. I can't find it in the docs and in the forum. How to accomplish?!
UI /UX designer + bit of Front-End Developer. Getting around with MODx Revolution
-
- 47 Posts
UI /UX designer + bit of Front-End Developer. Getting around with MODx Revolution
-
- 47 Posts
thanx guys for responding! I could do that BUT I want also show the restrains and that would accumulate it tremendously. For my 4 fields would be empty, min and max so 12 I lied 10 error-messages to insert by hand.. bieboebieboe!
Wouldn't this be a nice feature for FormIt?! Let say [[+errors]] placeholder would also output [[!+fi.error.key]] or [[!+fi.error.name]] or whatever to insert some human-readable field-names.
[ed. note: jambek2003 last edited this post 11 years, 4 months ago.]
UI /UX designer + bit of Front-End Developer. Getting around with MODx Revolution