added the call for complete input attribute