Closed (fixed)
Project:
Location
Version:
6.x-3.1-rc1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Oct 2009 at 19:31 UTC
Updated:
18 Feb 2012 at 00:43 UTC
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
Comment #1
jfev commentedI still haven't been able to figure this out... doesn't anyone have any idea why it might be acting this way? Thanks.
Comment #2
jchuck5612 commentedSame 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.
Comment #3
jfev commentedIt's been about a month since I've re-visited this, but has anyone run into this problem or more importantly found a solution?
Comment #4
yesct commentedPlease 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.
Comment #5
ankur commentedIf this is still an issue, I would say maybe use an implementation of hook_form_alter() to require the latitude and longtitude textfields.