This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

Hi, Is there an easy way to add tooltips the the backend form fields? Such as adding the data-toggle & title somehow in the fields.yaml? Thanks

http://octobercms.com/docs/backend/forms#form-field-options

You can specify custom attributes and containerAttributes. These are arrays that can hold arbitrary HTML attributes.

I suspected as much, what format do the attributes have to be in? I've tried attributes: data-toggle="tooltip" in a classic attempt at wishful thinking but no joy. Any chance of an example? Again many thanks.

For anyone else the answer turned out to be obvious once I RTFM :)

attributes: { data-toggle: "tooltip", title: "Some informative text" }

@oly2554,

+1 to your answer buddy :)

1-5 of 5

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.