hi, how can i rewrite this to take out commas in tag field?

mixplate wrote:

i have a text field box where the user can create tags. however, if they use commas, the comma becomes part of the tag name. how can i prevent this from happening.

before i call the tag_with, do a remove ','?

tags.gsub!(/',',' '/) will substitute a space for a comma.

hth, Bill

Oops. Should be:

tags.gsub!(/','/, ' ')