Add getters for name and value in InputElement