New line character in button text

In a dialog if you want your text to have a new line at some point in the text you simply put “\n”. However that doesn’t work in a button or label if you want the text to change dynamically depending on the state of the record. Probably something to do with HTML but can’t figure out how to get it to work. Sorry as I’m sure this is pretty basic…just never had the need to do this before and can’t seem to find any help on this in the docs.

Hi John,

Use html inside the label/button. Works both for smart and webclient

<html>my label/button text
next line</html>

Hope this helps.

Thanks Robert. I was trying to put it on multiple lines within the method and just had the syntax wrong on that.

Many thanks!