attribute value initialize for inputs