completed the input widget validation of micro parts function