Can frappe show inline error message?

Screenshot 2025-01-10 at 17.28.19

I want to show inline error message below a field of a doctype in Frappe (something like the image above)
Do you know it’s possible or not?

I don’t think this is possible. A workaround might be to create custom field that displays your message via javascript when those fields are blank.

1 Like

Thank you for your suggestion.
My use case is not just for blank validation, I want to validate the content on the fly when user typing.
But seems it’s not internally supported by Frappe Desk.

@lequockhanh you can create a field html under your input and do your validation when the value changes . you can update the message for different validation errors .
image

1 Like

This should be a default feature. I mean “validation” is really common.