Members

Note: You can use your Sitellite.org account here and vice versa.

Username

Password

Remember Login

Forgot your password?

Not a member? Click here to register

Html In Labels

Home Page | All Pages | Recently Revised | Authors | Feeds |

How to put HTML into field labels:

1. Add this line to the field's entry in your settings.php file:

label_template = "{filter none}{display_value}{end filter}"

2. Now in the alt value, anything goes:

alt = "<strong>Email Address</strong>"

Complete example:

[email]

type = text
label_template = "{filter none}{display_value}{end filter}"
alt = "<strong>Email Address</strong>"

Created on June 1, 2006 5:07 PM by anonymous

Linked from: Forms