Split string for 2 lines in subdialog button flow DataName
I have a subdialog button flow and I've created a dynamic dataname for the button. It looks like this:
Q: Make A: Toyota
The question is, is there a possible way to split a string for 2 lines and show a label for button in the next way:
Q: Make
A: Toyota
If you have a solution with css it will work for me
Comments
-
By using the property white-space with the value pre-line, the button will respect line-breaks.
.multiline-button { white-space: pre-line; }To upload the CSS to Decisions, you will need to go to System > Designers > CSS, and click "Add" in the upper lefthand corner.
To apply custom CSS to a form, please see our documentation on the topic here: https://documentation.decisions.com/docs/using-css-in-forms

