add required attar in inputs