This topic is locked

Multiselect Delimiter

3/13/2008 4:32:19 PM
PHPRunner General questions
S
spintz author

The default multiselect delimiter, the comma, is not sufficient for my purposes. I'm multiselecting locations such as -
Orlando, FL

New York, NY
and the list ends up looking like - Orlando, FL, New York, NY - and for reasons that should be obvious, this causes problems. It would be great to change the delimiter to a pipe - '|', or something else.
Where to change this delimited in the code for now? And would it be possible to have the ability to set the delimiter in the PHPR GUI in the future?

S
spintz author 3/13/2008

Ok, replacing the "," in the splitvalues and the combinevalues functions in commonfunctions.php with "|" is working. Any chance this can be an option on a per-field basis?

J
Jane 3/14/2008

Hi,
thank you for sharing your idea.

We'll add it to our suggestion list.