hides submit tag and triggers submit on checkbox click