Check for existing data

You need to use a Custom Form.
Make a copy of the template in the below thread, and study how it works.