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
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 699 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 180 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions