Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required setting not working for map field #55

Open
katrinkerber opened this issue Mar 7, 2016 · 2 comments
Open

Required setting not working for map field #55

katrinkerber opened this issue Mar 7, 2016 · 2 comments

Comments

@katrinkerber
Copy link

I have a map field set as required within the field layout settings, but entries are saved even when no marker has been added to the map.

If this can't be fixed easily, could you please advise of the best way to get only entries with a marker assigned? I've tried:

craft.entries.myMapField(':notempty:')

But that doesn't work.

@Jammooka
Copy link

Could you maybe have a text field for the address and make that required, then set it up to automatically geocode it? You'd have less control over the position, but would definitely require a value

@katrinkerber
Copy link
Author

If memory serves me right, automatic geocoding isn't always 100% accurate and in this instance it is important that the position is correct.

If this isn't something that can be added/amended within the plugin. not to worry :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants