This macro occurs when a input object is clicked.