Customizing Field Headers

From IHRIS Wiki
Revision as of 15:49, 26 May 2010 by Lduncan (talk | contribs) (Created page with 'Category: Tutorial You can customize the headers for a form field by updating the magic data associated with the headers. You can do this through the magic data browser, bu…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


You can customize the headers for a form field by updating the magic data associated with the headers. You can do this through the magic data browser, but the best way is to make the change in a module for your site or in your site configuration file. Headers are at the magic data location: /modules/forms/formClasses/$formClass/fields/$field/headers/$headerType

In most cases you'll use the "default" as the $headerType. If you want to have multiple headers, then change the header type and in the template that is displaying your field set the $headerType as the value for the showhead attribute. <source lang="html4strict"> </source> Replace $form, $field and $headerType with the appropriate values for your template. For example: <source lang="html4strict"> </source>