Gossamer Forum
Home : Products : DBMan : Customization :

Mulit Select Mod

Quote Reply
Mulit Select Mod
Ok, lots of problems sovled, one more to go. In the Multi Select Mod, it puts ~ inbetween the field entries to seperate them. How can i change that to a space, or at least a comma. I have played with a lot of differnt areas and i cant seem to find the part of the script that is making it do that.

Quote Reply
Re: Mulit Select Mod In reply to
In sub html_record, after my (%rec) = @_; add the following:

$rec{'FieldName'} =~ s/\~/ /g;

This will change all occurances of the "~" to a SPACE. You could also change it to a COMMA or even a <BR> tag by using the change in place of the SPACE.

- Mark

Astro-Boy!!
http://www.zip.com.au/~astroboy/