Forum

Thread tagged as: Question, Suggestions, Field-Types

define separator in slug

Is there a way to automatically define the separator in a slug? I don't want a dash between the words because I want to use it as a variable in a javascript function.

Ken Wuytack

Ken Wuytack 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

No, it's always a dash. You should be safe to replace the dash in your JavaScript before using it.