-1

I have created a content type with a addressfield field but in the configuration field form It doesn't let me set an empty default value. How can I fix it?

0

Did you run a search on addressfield's issues?

I think this is what you are looking for. Link

The sulotion from the addressfield's issue: "This issue contains a patch using hook_field_presave(). The preferred way is to use hook_field_is_empty(), to determine if an empty/default value should be stored in the database. However, hook_field_is_empty() does not contain info about the field instance settings."

  • It's not the version of the moudule I am using. – Alfonso_MA Aug 10 '13 at 23:33
  • While this might theoretically answer the question, answers containing links are not considered of good enough quality and will be deleted. To avoid this, please update the answer with the parts of the externally linked page that are relevant to answering this question – Clive Aug 11 '13 at 12:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.