Questions and discussion about using ProcessMaker: user interface, running cases & functionality
#822345
hi
when we write something in case label in title field in task properties, it will be seen in case field in inbox. and we can use variable in it.
if i want to have multi line what can i do?
i tested <br/>\n or \n between words but it dos not work :
Screenshot_2019-01-10 (admin in workflow).png
multi line in case lable
Screenshot_2019-01-10 (admin in workflow).png (9.61 KiB) Viewed 4798 times
is there a solution?
thanks in advance.
#822349
This one took me a while to figure out.
Edit your workflow/engine/templates/cases/casesList.js file and change line 521 from:
Code: Select all
        metadata.attr = 'ext:qtip="' + data + '" style="'+ style +' white-space: normal; "'; 
To:
Code: Select all
        metadata.attr = 'ext:qtip="' + data + '" style="'+ style +' white-space: pre-wrap; "'; 
Then, use PhpMyAdmin to open your MySQL database and change the TASK.TAS_DEF_TITLE field for your task to "Name: @#name
Family: @#family".
(so there is a hard return between @#name and Family)
EditInPphMyAdmin.png
EditInPphMyAdmin.png (91.51 KiB) Viewed 4790 times
Now you should be able to see hard returns in the case list:
LineWrapInCaseList.png
LineWrapInCaseList.png (9.44 KiB) Viewed 4790 times
#822364
very good it works.
thanks to take a time to solve it.
please suggest PM developer team to solve this in future version :
1- modify above js
2- let users to add something like \n in title of case label.
3-dont embrace variable values with " in output

thanks very much
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]