I want more than one space to be inserted between two words in a text field.
I have used below code, but it is not working.
a!textField( label: "Approved: 5"& " Closed: 7", readOnly: true() )
I want to display the content in this way. Is there any way to do it.
Discussion posts and replies are publicly visible
You could try following :
{ a!richTextDisplayField( label : "Previous Results", value: a!richTextItem( text: "Approved: 5" & " Closed: 7", style: "STRONG" ) ), a!textField( readOnly: true(), value: "TEST" )}
I hope this works for you. You can directly put all content in text with spaces without using '&'.
AFAIK For text field label we cannot add spaces between text, But we can add spaces for value .
Please find below code snippet:
a!textField(label: "Label",value: "Approved: 5"&char(09)&"Closed: 7",readOnly: true()) .
Same thing we can apply in richtext display filed.
Thanks!!