Added an 'inputname' attribute and a label so that it would work inside of the form and data view.