CustomLayout validators

I am using CustomLayout and I have few required fields on the form.
Currently the required fields display the red asterisk above the field. How can I get it display the red asterisk on the left side of the field, like in the FormLayout?

Thank You

Peter

Hi,

CustomLayout always renders the default component caption (including the optional icon, error indicator and required indicator) on top of the field. There’s no built-in way of moving it to another place.

You could try moving the caption using CSS, or you could perhaps wrap your fields with extra FormLayout instances. Or, you could hide the generated indicator and provide your own indicator. Just place a Label beside your field and style it as you wish.

Can you show me how / where to change the caption using CSS?

Thank You