code generated and form with dash