Service Area with Wix Booking

I have a service area business and I am having a problem with people scheduling appointments through Wix Booking for areas we do not service.

I’m looking for a way to either not allow people to see my booking page until they enter a zip code to see if I service their area or ask for a zip code when they land on my booking page.

If it’s a area we currently do not service the user will see a message that says “sorry we currently do not service your area at this time”

WordPress has plug-ins for this but I can’t find a solution that will work best on a Wix site.

Any help will be greatly appreciated.

You could code that in Wix Code, adding a input field to the booking page, if they enter a zip code pattern matching your preferences show the booking service, if not show a message box for the users. But it requires a small bit of coding. Is it one zipcode or a whole list of zipcodes?

Whole list of zipcodes, close to 50 to start with.

@marvin-a Do you have that list in a comma separated list? If you have you can add those to a dropdown and let the clients select their zipcode and tell clients that choose the zipcode we do have services in maybe? Or you add a input text box and then check what they entered to that list.

Thanks for your help. I don’t think the drop down is a clean look. Right now I added a input box and a submit button that’s connected to a database with all the zip codes. I’m having a problem with figuring out the best was to setup the input box, submit button, and database to work in a way that if the zip code the user inputs is in the database than forward them to the booking page. If not display an error message.

The best way I’ve found so far was to treat everything like a password. The only problem with that is when the user inputs the zip code the numbers are hiding and when the click submit the browser ask if they would like to say the password.

Any thoughts?

Thank you for your help so far

sorry to dig up this old post but did you find a way do this? could you share the wix code you used? thanks.

hey man can you please share the code for it ?

Here’s my solution to a similar problem -