How to use form submitted trigger