"Disable Macro Input" can't be required

bartezzini - May 25, 2009 - 18:56
Project:GMap Field
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

I think I found a little issue: for "Disable Macro Input" can't be a required field otherwise i can only choose to disable it.
approx line 130 (module)
'#description' => t('If checked, users of this field will not be able to input a macro. This is helpful if you want a certain map to show up every time. Make sure that there is a macro by default if you use this option.'),
'#required' => FALSE,

#1

rajo - July 17, 2009 - 19:47

It's very strange. "Disable Macro Input", "Add Marker(s)", "Choose Marker Type" - all required. How do you resolve this?

#2

Zoologico - July 28, 2009 - 01:31

Well, I edited the .module file, but I still get the error: "Please enter a valid GMap macro."

It seems the field is not taking the Location that is defined within the node.

Any suggestions?

 
 

Drupal is a registered trademark of Dries Buytaert.