Forums

error messages

ernst@volny.cz 12 Mar, 2019
How can I remove these reports when validating and just leave them red?

https://jmp.sh/WBBQE5i
healyhatman 12 Mar, 2019
Under the Validation tab you have an actual message there instead of just the field name.

If you absolutely must, you can use CSS to hide the label.
.field.error .basic.red.pointing.prompt.label { display: none !important; }
ernst@volny.cz 12 Mar, 2019
Changing the message will not remove it, because even if I give a space, it will appear.

display is not important because it is in element:


element.style {display:inline-block !important;}

it works for me

.field.error .basic.red.pointing.prompt.label { visibility:hidden !important;position:absolute;}

It's not a completely OK solution
healyhatman 12 Mar, 2019
What's not okay with it and why use visibility hidden instead of display none?
ernst@volny.cz 12 Mar, 2019
because when display: none element disappears and visibility: none stays there, just not visible.
Display none is a significantly better solution, but unfortunately it cannot be used
healyhatman 12 Mar, 2019
.......... why can't it be used? I thought you WANTED the element to disappear?
ernst@volny.cz 14 Mar, 2019
it is not possible to use display: none because it is in the element display: inline-block!important
Max_admin 16 Mar, 2019
Answer
2 Likes
You can change the validation messages style under the "Display form" action or in the form area if you are using that, the last style will not show the errors under the fields!

Best regards
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.