• Resolved 88al88

    (@88al88)


    I think this would be a pretty basic feature but I just want to make an address or zip code required before someone can search. Right now if you don’t enter in any address and just hit submit, or select a distance and hit submit, all results will be shown which is not what I want nor does it make any sense. A 50 mile distance from no address should show nothing.

    What is the easiest way to do this or what file should I be editing?

    Thanks

    http://wordpress.org/extend/plugins/geo-my-wp/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi,

    Form validation will probably be part of the coming premium version or in the next update. I will change they way it works right now.

    it wont be very easy to modify it but the file you want to look at will be geo-my-wp/plugin/post-types/shortcodes.php.
    There is a line where the function check for the address (!empty($org_address)).

    Thread Starter 88al88

    (@88al88)

    Thank you for responding.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Make Address Field Required’ is closed to new replies.