Hello!
I am wanting to build a widget and was wondering the best way to go about it using the pro version of Formidable.
Here are the basics:
What would be the best way to go about this? Can I even make something like this with this tool? I can pull together a list of zip codes each facility should show for.
For a widget, you would insert the form using PHP. See this Formidable KnowledgeBase article: https://formidableforms.com/knowledgebase/publish-a-form/#kb-php-alternative
Thank you! But how would I go about building the rest of the widget? Do you know how to upload multiple zip code conditions?
Custom widgets use the WordPress Widget API. See this for instructions about how to build a widget: https://codex.wordpress.org/Widgets_API
As for "multiple zip conditions", what do you mean?
Making sure a location only shows up for a specific set of zip codes. So for example, we have 1 location in New Jersey. If someone is searching for a location near them with a New York zip code, our New Jersey facility should pop up.
You just changed the ball game! You're looking at an integration with Google Places. The Geolocation add-on may get you where you need to go just by displaying your locations on a map. But if really need to calculate radius, that's going be a custom Places API call assuming Google reveals that info in the Places API.
Please login or Register to submit your answer