How can I edit my form and add on click event?