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
Howdy, Stranger!
Categories
- 4.2K All Categories
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions