yes.i can do that , but i prefer that the function will activateautomatically when the submit is clicked.