This topic is locked

Multiline - value separator

11/5/2007 11:58:48 AM
PHPRunner General questions
S
sporrencense author

Hi,
I'm using lookup wizard multiline select in phprunner 3.1.
Currently the results are coming out like this,"George H. Leigh-Mallory (Climbing Leader),Lt Col Edward F. Norton (Acting Leader),Capt C. Geoffrey Bruce"
I would like to replace the "," separator for each value selected with "|" and a space either side of this separator. Where can I edit to do this?
e.g. this-> "George H. Leigh-Mallory (Climbing Leader),Lt Col Edward F. Norton (Acting Leader),Capt C. Geoffrey Bruce"

to this-> "George H. Leigh-Mallory (Climbing Leader) | Lt Col Edward F. Norton (Acting Leader) | Capt C. Geoffrey Bruce"
Many thanks for your help.

Sergey Kornilov admin 11/5/2007

You can do this set View as type of this field to Custom.

$value = str_replace(",", " | ", $value);
S
sporrencense author 11/5/2007

Thanks - that's great.