947
Views
4
Comments
Solved
Validation message to show under input instead of label
Question

Hi,

How do I display Outsystems validation message under my input field instead of under its label? I'm using 'Server' for my validation.

Current:

I want it to be shown like this:

Thanks!

2019-09-24 18-41-25
Jorge Martins
 
MVP
Solution

Hi Rachael,

Simply put your Input in a Container, the Validation Message is bound to the Input, not the Label.

You can also customize the ValidationMessage CSS definitions, if you want the message to have another look & feel

UserImage.jpg
Linto Antony

Jorge Martins wrote:

Hi Rachael,

Simply put your Input in a Container, the Validation Message is bound to the Input, not the Label.

You can also customize the ValidationMessage CSS definitions, if you want the message to have another look & feel

 

 Thanks..This helped me too...

2023-09-06 11-31-56
Hitesh Maran

Hi Rachael,

You can set input box default mandatory option as false and write your own custom code. Please see screenshot below. You can change Css accordingly. 


  


-Hitesh 

2019-09-24 18-41-25
Jorge Martins
 
MVP
Solution

Hi Rachael,

Simply put your Input in a Container, the Validation Message is bound to the Input, not the Label.

You can also customize the ValidationMessage CSS definitions, if you want the message to have another look & feel

UserImage.jpg
Linto Antony

Jorge Martins wrote:

Hi Rachael,

Simply put your Input in a Container, the Validation Message is bound to the Input, not the Label.

You can also customize the ValidationMessage CSS definitions, if you want the message to have another look & feel

 

 Thanks..This helped me too...

2026-02-19 02-54-36
Keerthi Vasan V

Hi Rachael,


I also faced that issue previously,

as Jorge says, just enclose that input field in a container. It will behave as you expected.


Cheers,

Keerthi

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.