Hi,
I have a local variable local!tasks containing a list.
In the confirmation message of a button I would like to concatenate a text with the local variable.
Eg : Are you sure want to & local!tasks
I want to display the list of tasks in next line
eg : Are you sure want to
task1
task2
task3
inside confirmation message of a button
I am using char(10) but it is not working as expected. Is there any way to show like this in confirmation message of a button?
Discussion posts and replies are publicly visible
No. These dialogs do not support normal formatting.
Hi srinivaasant574373 ,
I have tried it with different styles, lastly with HTML code also by using concat, but as Stefan said, it won't support this type of formatting.
concat
No line breaks, but if you just need some bold or italic, there might be an option: appian.rocks/.../
I've long been wishing they'd upgrade these to accept at least some limited richtext, or perhaps even just linebreaks, but sadly so far these (and basic validation messages) are stuck only displaying plaintext.
Edit: ironically just yesterday (2024-12-11) I discovered basically by accident that TOOLTIPS (field tooltips as well as rich text captions etc) all now seem to accept LINEBREAKS (i.e. the "char(10)" command), which opens up new areas of possibility for formatting. Sadly this does not seem to apply to the button confirmation pop-up message, though it might(?!?) apply to the button confirmation HEADER (lol). BTW, if anyone is still on a version LOWER than 24.4, I'd love to confirm whether this feature is new with 24.4 or if we just haven't noticed it before.
I have an edge case scenario regarding the confirmation message.
I need to show the confirmation message only if the user fills the Paragraph field.
eg : I have a paragraph field where the user enters the text and click on submit. After clicking the submit button I am showing the confirmation message..
I should not show the confirmation message if the user does not enter anything in the paragraph field and I am showing validation message in the paragraph field. I am storing the text in a local variable . ie local!note
I gave the condition like if a!isnullorempty(local!note),{},"Message").
the value is stored in the local variable only when the user clicks outside the paragraph field. If the user clicks on the submit after entering the text and without clicking outside the field then the variable is not storing the value and the form is getting submitted without the confirmation message.
When we click on submit we are saving the note(paragraph field) in rule input from the local variable.
How to handle this scenario
Please set refreshAfter of paragraph field as "KEYPRESS"
srinivaasant574373 said:the value is stored in the local variable only when the user clicks outside the paragraph field
thank you, it worked