1

I would like to add some help info to address field fields from Address Field Module (http://drupal.org/project/addressfield). Is that possible, or do I have to use Javascript?

3
  • you can use hook_field_display_alter to alter the field.
    – nit3ch
    Apr 20, 2013 at 19:28
  • Sorry, guess I should have asked. Do you want this to be static information displayed on the edit form (help the end user know what to enter), or do you want to add additional fields to the address field for the end user to fill in?
    – thirdender
    Apr 24, 2013 at 19:37
  • just static info to help the users
    – Dalmaz
    Apr 25, 2013 at 0:36

1 Answer 1

0

When editing the field settings there should be a Help text field where you can enter "Instructions to present to the user below this field on the editing form".

If you want to provide additional instructions, use the Markup module to add a "field" containing the additional instructions. To keep the address field and the markup field in the same fieldset, use the Field group module to group the two fields into a single fieldset group.

1
  • Yes, but the address field from the Address Field module are not shown - form what i understand, you have to use them as they are, so I can't access those fields (or am I wrong?) I'll check the Markup module. Thank you for your suggestions!
    – Dalmaz
    Apr 24, 2013 at 9:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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