0

I have a field on the user edit page that looks like this:

Label: What kind of fruits do you like?

  • (checkbox) Apples
  • (checkbox) Bananas
  • (checkbox) Grapes
  • (checkbox) Oranges
  • (checkbox) Pears

Description: Check all that apply.

The actual list of checkboxes is quite long (20 or so items) and so I would like to put the description after the label and before the checkboxes-- preferably for all fields displayed using the checkbox widget provided by the select (or other) module.

How can I adjust where the description is displayed?

1

Install the theme developer module and point to your widget. It will tell you which hooks and templates are rendering it and what functions/templates you can use to override this functionality.

Often I find myself first copying the default code to the custom function/template and then twicking it to my needs.

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.