Pass errors to inputs