Replace underscore with dash in form group