This topic is locked
[SOLVED]

Howi can place carriage return in a text field ?

11/18/2022 4:29:17 AM
PHPRunner General questions
I
I author

Hi,

In a table I have a text field caled names with some names in this order:
nameA, nameB, nameC, nameD

I want to replace the comma in the text with a carriage retun so that the names in the text field are lined up like :

nameA
nameB
nameC
nameD

How can I fix this? Thanks.

mbintex 11/18/2022

Set the view settings for this field to "custom" and create a $value=formula that replaces the comma with

< br >
admin 11/18/2022

You can use 'View as' Custom and replace comma with
tag. This way every individual value will appear on a separate line.

I
I author 11/18/2022

img alt

Thanks for the info. in this my knowledge is below average, what code should I use to replace the comma with a cariage return ? Thank you.

I
I author 11/18/2022
admin 11/18/2022

You really need to start by reading what people are saying while trying to help you. The suggestion was to use
tag while you are trying to use char(13) for some reason.

I
I author 11/19/2022

Yes that is indeed correct. But if you are almost 76 years old, and you don't know the English language,
it can sometimes be that you don't understand what was meant. In the meantime I found the correct code. Thank you very much !

admin 11/19/2022

Awesome, thank you for the update!