I need to trigger an onSubmit event when a user submits their address in my search bar here: https://shoehospitals.com
I know how to add the onSubmit to the form element but I do not know which file to edit.
For context, the reason I need to do this is because I use a piece of javascript to dynamically change the phone number based on user source so we can track phone calls back to our Adwords/Bing campaigns/keywords.
My script fires on page load and works fine to replace the numbers displayed on the page during page load. Since my location search results are not displayed until after the user searches/submits the form I need to trigger my event to run the swap.js callrail script so I can dynamically swap out the numbers in the results with tracking numbers.
Can you tell me which file to edit and I can handle the rest.
Thank you.