Changing inputs so that the hint and error messages are settable as html properties