Hi,
In order to give extra attributes (like "class") to either elements of display groups, you have to use "options":
elements.street.options.class = "myClass"
displayGroups.address.options.class = "myClass"

Hope this helps.

Victor Farazdagi

Mike Wright wrote:
Hi all,

head hurts, so does wall ;/   need help...

I am using config files for my forms:

[myForm]

;;; four elements
; elements
elements.street.type = "text"
elements.city.type = "text"
elements.state.type = "text"
elements.zip.type = "text"

;;; all in one group named "address"
; fieldsets
displayGroups.address.street = "street"
displayGroups.address.city = "city"
displayGroups.address.state = "state"
displayGroups.address.zip = "zip"
;;;-----------

I'd like to style all my address blocks by giving them a "class". The problem is that I can't figure out how to add the class attribute from within my config file.

  displayGroups.address.????.class = "myClass"

Any help appreciated,
Mike Wright



Reply via email to