#181 input model based on name not id

Finds input elements by name not id