(google has yielded little help)

I have two content types that make use of the wonderful Location|Gmap modules. However, on one of the content input forms, the location fields that I've flagged as required are not coming through on the form. The other input form (with fewer exposed location fields) is working just fine (it only has 4 fields, all of which were set to *required, and all of which are displaying/validating correctly).

The form thats not working, has a few more exposed location fields (the entire form has a mix between required and non-required fields), but none of the required fields are being validated (they arent event marked with the corresponding * on the form).

Any suggestions?

Comments

steveadamo’s picture

these threads just popped up (on this site's search - but not via my google query)...

http://drupal.org/node/330068
http://drupal.org/node/333208
http://drupal.org/node/224641
http://drupal.org/node/307050

researching now... but im open to any feedback should someone have the magical "answer"... :)

steveadamo’s picture

unfortunately, all dead ends... i did post an issue in the location queue however...

has anyone else found a patch or workaround for the location requirements issue?

thanks!

steveadamo’s picture

I'm embarassed to admit the "solution" to my problem. It seems that when creating a content type, and setting the Locative information, under the Number of Locations (and then Minimum number of Locations), if you set that value to 1, the location fields you've set to required will in fact be required. ;)

serjas’s picture

thanks for this info

juliejohnson26’s picture

You saved me a lot of time by figuring this out!