Consolidate cases in `switch`
Consolidate cases in `switch`

Combined `email`, `password`, and `text` cases and adjusted start of `formStr` to dynamically create `input` elements of those `type`s

buchholz-sean/dwa-dynamic-form-builder