I was wondering if anyone could tell me how to require a user to place a marker on the map when creating a node? In the location settings I already have the minimum/maximum set to 1. However users still seem to be able to create nodes without placing a location which when you view the full node it places a marker at 0,0 lat,long. Any suggestions as to what I'm doing wrong?

Comments

jfev’s picture

I still haven't been able to figure this out... doesn't anyone have any idea why it might be acting this way? Thanks.

jchuck5612’s picture

Same here. Any trick to get this working? In the Content Type settings I have set the Coordinate Chooser as a required field along with the State field. If I submit an empty form I get a validation error message for the state field but I do not get on about the Coordinate Chooser field.

Any help would be greatly appreciated.

jfev’s picture

It's been about a month since I've re-visited this, but has anyone run into this problem or more importantly found a solution?

yesct’s picture

Status: Active » Postponed (maintainer needs more info)

Please check to see if this is still a problem in the new release. If it is, reply with a new summary and set the status back to active.

ankur’s picture

Category: bug » support
Status: Postponed (maintainer needs more info) » Closed (fixed)

If this is still an issue, I would say maybe use an implementation of hook_form_alter() to require the latitude and longtitude textfields.